Commit Graph
195 Commits
Author SHA1 Message Date
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
Mateusz Pusz da8721b997 feat: users are now allowed to inherit their ow types from absolute point origins 2023-12-03 16:15:38 +01:00
Mateusz Pusz d5549ff92d feat: zero_Fahrenheit point origin added 2023-10-18 17:17:09 +02:00
Mateusz Pusz d3ad78a9dd fix: Fahrenheit conversion ratio was inverted 2023-10-18 16:34:39 +02:00
Mateusz Pusz cb36e39c2a style: formatting fixed to make pre-commit happy 2023-10-06 13:39:51 -06:00
Mateusz Pusz 0d66089853 feat: 💥 inverse() support added for dimensions, quantity_spec, units, and references (1 / s will now create quantity and not a Unit) 2023-10-06 12:53:18 -06:00
Mateusz Pusz 04588d9c8b feat: Magnitude / Unit operator added 2023-09-30 21:36:23 -06:00
Mateusz Pusz 3b6a22d2c0 docs: degree_Celsius comment not needed anymore 2023-09-26 15:48:17 +02:00
Mateusz Pusz 7a6b629218 feat: gray and sievert now have correct associated quantity kinds 2023-09-26 15:27:43 +02:00
Mateusz Pusz 52479412bb docs: TODO note removed 2023-09-26 14:21:37 +02:00
Mateusz Pusz bfbc1785b8 feat: isq::activity added and becquerel definition updated to benefit from it 2023-09-26 10:37:08 +02:00
Mateusz Pusz b7bab8c7e6 refactor: isq::speed_of_light renamed to isq::speed_of_light_in_vacuum 2023-09-13 09:14:20 +02:00
Mateusz Pusz f46b3dad74 feat: added an option to disable space before unit symbol in the text output
Resolves #387
2023-09-04 11:09:40 +02:00
Mateusz Pusz 690fa592ca docs: outdated comment removed 2023-08-27 21:51:59 +02:00
Mateusz Pusz d8b687d6a9 feat: absolute_zero and ice_point point origins added to SI 2023-08-18 18:51:58 +02:00
Mateusz Pusz ea6325a5eb refactor: some parameterized quantity specs renamed
Relates to #475
2023-08-01 12:38:29 +02:00
Mateusz Pusz 092e1569a7 feat: heat is now a quantity of energy kind
ISO 8000-1 says: "The quantities heat, kinetic energy, and potential energy are generally considered to be quantities of the same kind, namely, of the kind of quantity called energy."
2023-08-01 12:36:27 +02:00
Mateusz Pusz ba1f58af76 refactor: All the macros refactored to have MP_UNITS_ prefix 2023-06-21 18:05:21 +02:00
Mateusz Pusz d9697afd67 feat: non-SI units got their own namespace non_si 2023-06-19 14:02:31 +02:00
Mateusz Pusz 7fc88facd6 feat: arcminute and arcsecond support added 2023-06-19 14:01:36 +02:00
Mateusz Pusz ad7f897600 fix: constexpr evaluation maximum step limit fixed for clang for proton_mass 2023-06-16 16:24:53 +03:00
Mateusz Pusz 52ab3f1535 refactor: SI units do not depend on the entire ISQ anymore + header dependency compilation fixes 2023-06-15 14:37:22 +03:00
Mateusz Pusz f9e1404e02 style: formatting updated to make pre-commit happy 2023-06-08 22:01:40 +02:00
Mateusz Pusz d0684c4644 fix: typographic system now explicitly uses international inch to define point 2023-06-08 21:49:24 +02:00
Mateusz Pusz 9f8973e6f2 refactor: parsec definition refactored 2023-06-08 19:09:20 +02:00