Commit Graph
181 Commits
Author SHA1 Message Date
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
Mateusz Pusz 99aa02a83a feat: IAU system extended with new definitions 2023-06-08 17:37:09 +02:00
Mateusz Pusz 192bf39654 refactor: natural::speed_of_light_in_vacuum renamed to natural::speed_of_light 2023-06-05 19:37:17 +02:00
Mateusz Pusz 7a730fde58 refactor: constant_unit abstraction removed and replaced with regular named_unit 2023-06-05 19:36:22 +02:00
Mateusz Pusz 361ff5c3d1 test: international system tests added 2023-06-05 15:06:06 +02:00
Mateusz Pusz 03b58ee073 refactor: square and cubic are now functions (not variable templates) 2023-06-01 08:45:41 +02:00
Mateusz Pusz b59af895dd fix: CGS definitions fixed 2023-05-27 17:25:43 +02:00
Mateusz Pusz 52bbd00ab4 style: clang-format new rules applied to the code base 2023-05-26 14:20:00 +02:00
Björn Schäpers 814b731696 Work around Windows macro 2023-05-25 13:08:51 +02:00
Mateusz Pusz 7d9ae3ec31 refactor: mp_units subdirectory renamed to mp-units 2023-05-25 12:47:10 +02:00
Mateusz Pusz 002d5b4275 feat: inch_of_mercury support added 2023-05-25 10:34:34 +02:00
Mateusz Pusz 0f7ae6954f refactor: definitions of derived quantities with equations resulting in electric_current fixed 2023-05-22 17:58:04 +02:00
Mateusz Pusz 8ef6d409b2 refactor: character of dynamic_viscosity and magnetic_flux_density set explicitly 2023-05-02 22:00:19 +02:00
Mateusz Pusz 541a554852 feat: is_kind added to some dimensionless quantities definitions 2023-05-02 21:42:54 +02:00
Mateusz Pusz 258a62edcc refactor: quantity hiearchy kinds fixed for some quantity definitions 2023-04-21 15:10:02 +01:00