Commit Graph
219 Commits
Author SHA1 Message Date
Mateusz Pusz b3cd2cf6e3 feat: text output for angular units improved (space before symbol removed) 2024-07-04 10:40:12 +01:00
Mateusz Pusz 70289048bd refactor: Unicode codepoints used for deg_C and deg_F text symbols 2024-06-30 17:14:37 +02:00
Mateusz Pusz ba8681f90b feat: 💥 delta and absolute construction helpers 2024-06-30 12:03:24 +02:00
Mateusz Pusz 4b46be7604 refactor: reference specifiers are now variable templates 2024-06-20 09:20:33 +02:00
Mateusz Pusz 5761deb1ba refactor: ice_point and zeroth_degree_Fahrenheit now use absolute reference specifier 2024-06-20 08:52:33 +02:00
Mateusz Pusz b38b23ece2 refactor: relative() renamed to delta() 2024-06-20 07:31:22 +02:00
Mateusz Pusz d03482fa1b feat: absolute and relative reference modifiers support added 2024-06-19 21:10:16 +02:00
Mateusz Pusz f49b4c6f5f refactor: compile-time optimizations reverted 2024-06-14 13:37:56 +02:00
Mateusz Pusz 05fc1e29c8 refactor: 💥 from now on point origins must be marked final + absolute_point_origin does not use CRTP anymore 2024-06-13 19:24:40 +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 d87bb70063 fix: magnitude get_value fixed for clang-17 2024-06-07 09:41:13 +02:00
Mateusz Pusz e38c7c4460 refactor: magnitudes support refactored to improve compile-times 2024-06-06 20:58:15 +02:00
Mateusz Pusz 14a1801425 docs: copyright comments added to module files 2024-06-06 13:50:29 +02:00
Mateusz Pusz c69bd140b2 refactor: all units made final 2024-06-06 13:18:45 +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 1c5b8de627 refactor: more workarounds for gcc-12 2024-06-01 13:03:20 +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 cd36e6f974 feat: freestanding support added
Resolves #564, #565, and #556
2024-05-30 19:50:02 +02:00
Mateusz Pusz 15a6d02152 Merge branch 'master' of github.com:mpusz/mp-units 2024-05-16 12:33:58 +02:00
Mateusz Pusz 5dc21fd29b refactor: zeroth_degree_Fahrenheit definition simplified 2024-05-16 12:33:28 +02:00
Yves DelleyandMateusz Pusz 6c85ba3f17 Update src/systems/include/mp-units/systems/si/unit_symbols.h
Co-authored-by: Mateusz Pusz <mateusz.pusz@gmail.com>
2024-05-14 15:50:04 +02:00
Yves Delley d4734f630d add missing unit symbols for ohm 2024-05-11 11:10:30 +02:00
Mateusz Pusz 75f719add7 refactor: code refactored to comply with clang-tidy 2024-05-08 11:12:38 +02:00
Mateusz Pusz 8ea346be1c refactor: 💥 header files with the entire system definitions moved up in the directory tree 2024-04-25 16:34:11 +02:00
Mateusz Pusz c066104af7 refactor: 💥 framework.h introduced + IWYU 2024-04-24 21:09:29 +02:00
Mateusz Pusz 15389107d4 fix: dependencies on cstdint header fixed 2024-04-23 08:59:14 +02:00
Mateusz Pusz 94a9a28d90 refactor: ISQ quantities includes in the chrono.h limited to the SI quantities only 2024-04-19 16:54:40 +01:00
Mateusz Pusz f90a218705 refactor: 💥 ratio hidden as an implementation detail behind mag_ratio 2024-04-19 15:29:00 +01:00
Mateusz Pusz fb97c2ea5a refactor: basic_symbol_text renamed to symbol_text 2024-03-18 23:12:39 +09:00
Mateusz Pusz 10ee4cc13c feat: some light and radiation ISQ quantities added 2024-02-24 09:32:58 +01:00
Mateusz Pusz 5ca9168381 feat: proper exports implemented for C++ modules 2024-02-23 21:09:17 +01:00
Mateusz Pusz caf40e10d4 refactor: core_gmf.h tuning 2024-02-23 14:12:37 +01:00
Mateusz Pusz c57d172e29 fix: compilation fixed after last commits 2024-02-22 22:35:18 +01:00
Mateusz Pusz 7aacf5a3bf fix: ODR violations in C++ modules fixed for clang-18 2024-02-22 20:25:05 +01:00
Mateusz Pusz cb858f1e51 feat: ABI concerns resolved with introduction of u8 strings for symbols 2024-02-16 22:13:13 +01:00
Mateusz Pusz 8b9ca0e342 Merge branch 'master' of github.com:mpusz/mp-units 2024-02-16 15:46:44 +01:00
Mateusz Pusz 0035015133 build: CMake header sets require at least 3.23 2024-02-15 22:22:35 +01:00
Mateusz Pusz 96dcea751d feat: improve types readability by eliminating extraneous () for a value of a type for prefixes 2024-02-05 19:12:47 +01:00
Mateusz Pusz 05f481d3e9 fix: thermodynamics.h header fixed to be standalone 2024-01-26 16:42:32 +01:00
Mateusz Pusz 3382cb4b30 fix: compilation issues fixed 2024-01-26 16:04:59 +01:00
Mateusz Pusz e0f9048e4b refactor: si_quantities.h added to improve compile-times 2024-01-26 15:53:18 +01:00
Nebojsa Cvetkovic 057d659c1f feat: atan2 2-argument arctangent 2024-01-20 19:37:00 +00:00
Mateusz Pusz 44c557ff4b refactor: add_units_module renamed to add_mp_units_module and target_name parameter added 2024-01-06 08:51:01 +01:00
Mateusz Pusz 0eaf6e2e56 refactor: modules support redesigned 2024-01-06 08:51:01 +01:00
Mateusz Pusz 5382fdbc5c fix: ice_point is now defined with the integral offset from absolute_zero
Fixes #539
2024-01-05 11:56:55 +01:00
Mateusz Pusz 09d923d619 refactor: MSVC workarounds for named prefixed units definitions 2024-01-05 11:17:03 +01:00
Mateusz Pusz 10a2e6dc0d feat: 💥 initial implementation of implicit point origins 2023-12-21 12:25:09 +01:00
Mateusz Pusz 0db047803e refactor: 💥 zeroth_Fahrenheit renamed to zeroth_degree_Fahrenheit 2023-12-19 08:16:58 +01:00
Mateusz Pusz 8fcc7e3a49 refactor: zero_Fahrenheit renamed to zeroth_Fahrenheit 2023-12-17 18:32:01 +01:00