Commit Graph
834 Commits
Author SHA1 Message Date
Mateusz Pusz 6aa848a456 feat: 💥 from now on dimnensions have to be marked as final 2024-06-12 14:17:32 +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 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 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 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 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 e25364b3e0 refactor: not needed remove_reference_t and remove_cvref_t removed 2024-06-01 10:03:53 +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 3cd5a7dd42 build: CMake dependencies handling improved for the freestanding mode 2024-05-30 20:50:11 +02:00
Mateusz Pusz cd36e6f974 feat: freestanding support added
Resolves #564, #565, and #556
2024-05-30 19:50:02 +02:00
Mateusz Pusz 641a743684 refactor: terminate replaced with abort and a header file added 2024-05-30 12:54:34 +02:00
Mateusz Pusz a6562acde5 feat: allow configuring GSL library use
Resolves #576
2024-05-30 12:23:14 +02:00
Mateusz Pusz 3a792b4057 fix: IWYU 2024-05-30 12:14:58 +02:00
Mateusz Pusz 09fa158f21 fix: missing <locale> header file added 2024-05-30 08:30:41 +02:00
Mateusz Pusz 1cb86a2271 feat(example): kalman filter examples enabled after text formatting refactoring 2024-05-29 20:25:21 +02:00
Mateusz Pusz da0ab13b0d feat: fma for quantity points added 2024-05-29 19:54:53 +02:00
Mateusz Pusz 411d7d5c50 feat: custom implementation of swap_ranges added 2024-05-28 09:41:25 +02:00
Mateusz Pusz cb7cbf4cb3 refactor: fixed_string refactoring to match the R2 specs 2024-05-22 12:18:48 +02:00
Mateusz Pusz 7322d9a10f refactor: std::simd-like integral_constant usage added to member functions 2024-05-21 12:11:43 +02:00
Mateusz Pusz 20b0848031 refactor: 2-parameters fixed_string constructors are not explicit anymore 2024-05-21 12:11:00 +02:00
Mateusz Pusz 15a6d02152 Merge branch 'master' of github.com:mpusz/mp-units 2024-05-16 12:33:58 +02:00
Mateusz Pusz ecb39d79c0 fix: missing headers added to quantity_spec.h 2024-05-16 12:31:30 +02:00
Mateusz Pusz a479246ea7 feat: basic_fixed_string implementation and testing improved 2024-05-16 12:30:45 +02:00
Yves Delley f74f99b7b1 Merge branch 'master' into bugfix/allow-lvalue-references-in-value-cast 2024-05-10 23:29:43 +02:00
Yves Delley 1eb491750c fix formatting 2024-05-10 23:26:12 +02:00
Yves Delley 14f658120e fix value_cast with lvalue references to quantity_point 2024-05-10 23:14:17 +02:00
Mateusz Pusz 9300cb72ea Merge pull request #570 from burnpanck/feature/math-for-quantity-point
added support for quantity_point math
2024-05-11 05:38:49 +09:00
Yves Delley 086e62c80c suggestions from review 2024-05-10 22:23:52 +02:00
Yves Delley d03f9c17a3 fix constexpr and format 2024-05-10 20:15:15 +02:00
Yves Delley d8371074f8 fix quantity_cast to accept lvalue references 2024-05-10 20:07:07 +02:00
Yves Delley ddbdd6a4c2 added support for isfinite isinf and isnan on instances of quantity_point 2024-05-10 20:05:36 +02:00