Commit Graph
3325 Commits
Author SHA1 Message Date
Mateusz Pusz f63c4eec4a refactor: get_associated_quantity and quantity spec hierarchy traversing compile-times improved 2024-06-13 12:29:12 +02:00
Mateusz Pusz 5f67523a8a feat: 💥 from now on quantity specifications have to be marked as final 2024-06-13 12:05:16 +02:00
Mateusz Pusz 1f7a93c777 refactor: IntermediateDerivedQuantitySpec renamed to DerivedQuantitySpec 2024-06-12 14:45:59 +02:00
Mateusz Pusz ba0ba44dd9 refactor: compile-time performance optimizations for expression templates 2024-06-12 14:18:51 +02:00
Mateusz Pusz 18b16c51a0 refactor: compiple-time performance optimizations for dimensions 2024-06-12 14:18:29 +02:00
Mateusz Pusz 6aa848a456 feat: 💥 from now on dimnensions have to be marked as final 2024-06-12 14:17:32 +02:00
Mateusz Pusz 8977739692 docs: Compiler Explorer links updated to reflect the latest changes 2024-06-11 08:57:18 +02:00
Mateusz Pusz b2b64700fb fix: missing <functional> header file added to expression_template.h 2024-06-10 23:06:34 +02:00
Mateusz Pusz ba96794f91 fix: missing mp-units/ext/format.h added to fixed_string.h 2024-06-10 22:23:13 +02:00
Mateusz Pusz 2ffe5886cf build: include/mp-units/ext/format.h removed from freestanding configuration 2024-06-10 22:16:29 +02:00
Mateusz Pusz 0fbe0bb5e0 style: clang-format 2024-06-10 22:13:37 +02:00
Mateusz Pusz 3d5a6368d8 build(conan): mssing preprocessor defines added to package_info()
Resolves #581
2024-06-10 22:06:48 +02:00
Mateusz Pusz bb3b9c4a19 build(conan): freestanding support refactored 2024-06-10 22:06:06 +02:00
Mateusz Pusz e90cffcbda refactor: text formatting library header files are no longer included in compat_macros.h 2024-06-10 22:04:41 +02:00
Mateusz Pusz ed53cf03f0 refactor: contract support library header fles are no longer included in compat_macros.h 2024-06-10 22:00:46 +02:00
Mateusz Pusz 7fbc52dc93 refactor: expr_map_impl now caches the value 2024-06-07 09:41:35 +02:00
Mateusz Pusz d87bb70063 fix: magnitude get_value fixed for clang-17 2024-06-07 09:41:13 +02:00
Mateusz Pusz e5151141fb fix: have_same_canonical_reference_unit declaration fixed 2024-06-06 22:28:06 +02:00
Mateusz Pusz 452c6015ed refactor: integral conversion factor optimized for the case of the same unit type 2024-06-06 22:19:02 +02:00
Mateusz Pusz 3353f492ad refactor: unit comparison functions optimized for the case of the same unit type 2024-06-06 20:59:41 +02:00
Mateusz Pusz e38c7c4460 refactor: magnitudes support refactored to improve compile-times 2024-06-06 20:58:15 +02:00
Mateusz Pusz 3c97f2e611 style: clang-format 2024-06-06 14:07:29 +02:00
Mateusz Pusz e382435b98 build: mp-units-contracts CMakeTarget added to reuse contract definition in different separate targets
Refers to #581
2024-06-06 14:07:16 +02:00
Mateusz Pusz 14a1801425 docs: copyright comments added to module files 2024-06-06 13:50:29 +02:00
Mateusz Pusz f8f5c0b34d docs: Unit<T> concept updated with final 2024-06-06 13:49:53 +02:00
Mateusz Pusz 7319e78088 docs: 2.2 release annonuncement updated 2024-06-06 13:45:12 +02:00
Mateusz Pusz 68da34a3b5 docs: smoot made final 2024-06-06 13:21:43 +02:00
Mateusz Pusz 1d689b01e4 refactor: 💥 Unit<T> concept now requires T to be marked final 2024-06-06 13:20:46 +02:00
Mateusz Pusz fa85eb3fde refactor: unused is_specialization_of_unit trait removed 2024-06-06 13:19:57 +02:00
Mateusz Pusz c69bd140b2 refactor: all units made final 2024-06-06 13:18:45 +02:00
Mateusz Pusz 4aea85656b refactor: units no longer inherit from each other 2024-06-06 13:16:13 +02:00
Mateusz Pusz 2876ae1ebd build: CMake API parameter values handling and documentation improved
Relates to #581
2024-06-05 08:27:48 +02:00
Mateusz Pusz 760d48502d refactor: unit-related constexpr functions compile-time evaluation limited to only one that determines the return type 2024-06-05 08:24:33 +02:00
Mateusz Pusz fb77585593 refactor: system's units do not inherit from one another anymore
Resolves #512
2024-06-05 08:16:02 +02:00
Mateusz Pusz 41be9b3e53 refactor: input value for a kalman filter example had a typo in the book 2024-06-04 20:03:41 +02:00
Mateusz Pusz 60a8605688 Merge pull request #579 from burnpanck/feature/increase-test-coverage-on-truncation
added more testing of `value_cast` conversion accuracy when using integral types
2024-06-03 17:38:15 +09:00
Yves Delley b6df881134 added more testing of conversion accuracy when using integral types 2024-06-02 11:09:46 +02:00
Mateusz Pusz 2adc9344ea refactor: some TODO comment addressed or removed 2024-06-01 13:36:22 +02:00
Mateusz Pusz 3c8a0212f0 fix: system_reference::operator[] 2024-06-01 13:20:15 +02:00
Mateusz Pusz 1c5b8de627 refactor: more workarounds for gcc-12 2024-06-01 13:03:20 +02:00
Mateusz Pusz 16493ee99a style: clang-format 2024-06-01 10:08:19 +02:00
Mateusz Pusz e25364b3e0 refactor: not needed remove_reference_t and remove_cvref_t removed 2024-06-01 10:03:53 +02:00
Mateusz Pusz b885f2b84e docs: prefixed unit definitions updated 2024-06-01 09:13:02 +02:00
Mateusz Pusz 1ea2df9209 refactor: most std::remove_const_t removed and some replaced with the GCC-specific workaround 2024-06-01 09:12:16 +02:00
Mateusz Pusz ec287664ee refactor: some TODO comments resolved 2024-05-31 21:07:42 +02:00
Mateusz Pusz a874d64301 fix: incorrect CMake boolean logic fixed 2024-05-31 09:27:05 +02:00
Mateusz Pusz ad94c2e6de style: whitespaces trimmed in ci-freestanding.yml 2024-05-31 09:03:32 +02:00
Mateusz Pusz 22c82f1c00 docs: MP_UNITS_DEV_CLANG_TIDY added and release tags updated for other _DEV_ options 2024-05-31 09:02:00 +02:00
Mateusz Pusz 5b1d5d797d ci: Clang-18 Debug configuration disabled in Freestanding CI 2024-05-31 08:45:12 +02:00
Mateusz Pusz 3cd5a7dd42 build: CMake dependencies handling improved for the freestanding mode 2024-05-30 20:50:11 +02:00