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
Mateusz Pusz
565465d284
fix: angular trigonometric functions now can be constrained with QuantityOf<angle>
2023-04-10 19:55:25 +02:00
Mateusz Pusz
c807ba31be
feat: quecto, ronto, ronna, quetta prefixed versions of unit symbols added
2023-04-08 19:54:31 +02:00
Mateusz Pusz
9f3ea544d5
fix: standard_gravity_unit now prints a correct unicode symbol
2023-03-30 17:49:02 +02:00
Mateusz Pusz
f446b4f7a7
feat: standard_gravity now uses acceleration_of_free_fall
2023-02-13 18:56:20 +01:00
Mateusz Pusz
3c2e6d06bb
refactor: ISQ system refactored to benefit from the latest changes
2023-02-13 18:55:54 +01:00
Mateusz Pusz
8e6fb7818b
fix: isq_angle compilation fixed
2023-02-13 18:39:12 +01:00
Mateusz Pusz
f667037216
feat: associated quantities provided for units in various systems
2023-02-13 18:37:27 +01:00
Mateusz Pusz
761919c1be
feat: added new SI prefixes based on CGPM 2022 Resolution 3
2023-02-09 11:25:18 -08:00
Mateusz Pusz
6794485b02
refactor: small cleanup of IEC 80000 definitions
2023-02-09 10:02:58 -08:00
Mateusz Pusz
2cf736a1e6
feat: preventing possible future units crash when using namespace std;
...
Resolves #317
2022-12-29 20:18:48 +01:00
Mateusz Pusz
6b72dd39c1
refactor: headers with system definitions moved to _systems_ subdirectory
2022-12-29 19:27:54 +01:00
Mateusz Pusz
c7d7c7d49f
refactor: isq_angle refactored after consulting with Paul Quincey
2022-12-29 19:00:15 +01:00
Mateusz Pusz
97da55edfa
refactor: the rest of the systems refactored for V2
2022-12-29 18:59:10 +01:00
Mateusz Pusz
05da8b6153
fix: storage_capacity definition fixed
2022-12-27 12:50:47 +01:00
Mateusz Pusz
12e48ea3c0
fix: _quantity.h_ header added to _base_quantities.h_ to make all the definition complete
2022-12-27 12:49:21 +01:00