Commit Graph

2738 Commits

Author SHA1 Message Date
Mateusz Pusz fa38e4f497 docs: admonition types usage fine tuned 2023-08-30 11:33:30 +02:00
Mateusz Pusz f1c2c74ab0 refactor: quantity::value() renamed to quantity::numerical_value()
According to https://jcgm.bipm.org/vim/en/1.19.html "quantity value" also contains a unit. According to https://jcgm.bipm.org/vim/en/1.20.html "numerical value" is the correct term for just a number.

Resolves #423
2023-08-30 11:30:35 +02:00
Mateusz Pusz 24803a96cc feat: math trigonometric functions can now be called with integral quantities
Relates to #485
2023-08-29 16:05:48 +02:00
Mateusz Pusz f64c08bac3 fix: integral representations allowed for irrational canonical units
Resolves #485
2023-08-29 16:04:10 +02:00
Mateusz Pusz 750af32f06 style: whitespaces cleanup 2023-08-29 14:21:51 +02:00
Mateusz Pusz 7c41561c0d docs: "Basic Concepts" chapter revised 2023-08-29 14:17:14 +02:00
Mateusz Pusz bf35ddb51b docs: point origins definitions cleanup in glossary 2023-08-29 14:14:22 +02:00
Mateusz Pusz b4cf1e57de refactor: quantity point concepts cleanup 2023-08-29 14:09:41 +02:00
Mateusz Pusz bba880bdc7 docs: README updated 2023-08-28 21:04:33 +02:00
Mateusz Pusz bac2b91a0f docs: 'important' admonition type added 2023-08-27 21:52:47 +02:00
Mateusz Pusz 690fa592ca docs: outdated comment removed 2023-08-27 21:51:59 +02:00
Mateusz Pusz eac39512c1 docs: "Introduction" changed to "Tag Index" for examples 2023-08-27 21:40:11 +02:00
Mateusz Pusz 0322c4f9b4 docs: broken link fixed 2023-08-27 21:37:45 +02:00
Mateusz Pusz c6e9a9caf2 refactor: quantity::number_ member renamed to quantity::value_ 2023-08-26 21:05:15 +02:00
Mateusz Pusz ef1451daf5 docs: typo fixed 2023-08-26 20:50:17 +02:00
Mateusz Pusz 27a0fc773b style: formatting changed to make pre-commit happy 2023-08-26 20:47:34 +02:00
Mateusz Pusz c3077238c0 docs: CRTP full name fixed 2023-08-26 20:43:58 +02:00
Mateusz Pusz a9a043d892 style: whitespace removed to make pre-commit happy 2023-08-26 20:28:49 +02:00
Mateusz Pusz 6635ea95a4 ci: use gcc-11 for CodeQL analysis 2023-08-26 20:27:26 +02:00
Mateusz Pusz d42c89e459 ci: check if gcc-13 is available 2023-08-26 20:26:56 +02:00
Mateusz Pusz 66a37e0f62 build: supported compilers adjusted or Conan 2023-08-26 20:05:09 +02:00
Mateusz Pusz 8d69101350 ci: compilers configuration adjusted to currently supported ones 2023-08-26 20:04:48 +02:00
Mateusz Pusz 3705404d14 docs: QUANTITY_SPEC macro tip added 2023-08-26 19:47:10 +02:00
Mateusz Pusz 631ad69d8b docs: "Supported compilers" section updated 2023-08-26 19:45:53 +02:00
Mateusz Pusz 4705382c17 test: a few checks trigger a bug in clang so they were disabled from compilation on this compiler 2023-08-26 19:43:09 +02:00
Mateusz Pusz af827ca50f refactor: small math functions refactoring to make clang happy 2023-08-26 19:27:48 +02:00
Mateusz Pusz 35efff66d4 build: clang-format updated to 16.0.6 in pre-commit 2023-08-25 23:06:35 +02:00
Mateusz Pusz f29c57d367 style: formatting to make pre-commit happy 2023-08-25 23:05:36 +02:00
Mateusz Pusz f7bd67bf09 fix: invalid preprocessor conditions fixed 2023-08-25 22:48:27 +02:00
Mateusz Pusz 27ec678314 refactor: workarounds to make gcc-11 compile 2023-08-25 22:47:32 +02:00
Mateusz Pusz 05a307564a refactor(example): gcc-11 ICE on the previous code 2023-08-25 22:16:40 +02:00
Mateusz Pusz c53b692ac9 refactor: clang-17 has a proper support for consteval 2023-08-25 21:17:48 +02:00
Mateusz Pusz 1cb20145c8 refactor: workaroud on ratio comparison to enable clang-16 compilation 2023-08-25 21:16:16 +02:00
Mateusz Pusz a2376b9b53 refactor: workaround to enable clang-16 compilation 2023-08-25 21:15:00 +02:00
Mateusz Pusz 974110646a refactor: repeated forward declaration of make_quantity removed 2023-08-25 20:42:48 +02:00
Mateusz Pusz f37aa8bbd0 test: unused origin definition removed from concepts_test.cpp 2023-08-25 20:28:24 +02:00
Mateusz Pusz 6f1832ceb3 feat: BaseQuantitySpec concept removed as it had no use 2023-08-25 20:27:38 +02:00
Mateusz Pusz 636f1e1f92 test: conditional compilation set for constexpr round() usage 2023-08-25 19:55:36 +02:00
Mateusz Pusz c625be5ebe fix(example): transform_inclusive_scan initial value had to be explicitly provided 2023-08-25 19:49:33 +02:00
Mateusz Pusz ab3f75d3e0 refactor: make_quantity_point declaration moved to a concept header file 2023-08-25 09:32:57 +02:00
Mateusz Pusz e8fada662c fix: clang compilation changes for quantity_cast 2023-08-24 20:00:02 +02:00
Mateusz Pusz 85b6dd0e38 fix: not enough changes were commited in one of the previous commits 2023-08-24 19:32:14 +02:00
Mateusz Pusz 1bc6fdece9 fix: clang compilation workarounds added for magnitudes 2023-08-24 19:21:17 +02:00
Mateusz Pusz 9f1a42bc7f refactor: glide_computer renamed to glide_computer_lib 2023-08-24 19:19:55 +02:00
Mateusz Pusz af4615e466 test: quantity_point_test compilation enabled 2023-08-24 19:17:57 +02:00
Mateusz Pusz 8b661b9b0d test: clang does not allow skipping template template parameters 2023-08-24 19:16:36 +02:00
Mateusz Pusz 9696e7466b test: unused defintions removed from tests 2023-08-24 19:15:05 +02:00
Mateusz Pusz 624b7c7404 fix: some fixes revealed during clang compilation 2023-08-24 19:14:23 +02:00
Mateusz Pusz 3cc653fae1 build: fmt updated to 10.1.0 to enable gcc-13 compilation 2023-08-23 20:01:23 +02:00
Mateusz Pusz 14c1f34664 refactor: QuantityLike now requires value to exactly return rep 2023-08-23 20:00:32 +02:00