Mateusz Pusz
630daf4e26
fix: compressibility definition fixed
2022-11-07 16:34:39 -10:00
Mateusz Pusz
5054f45a4a
refactor: iec80000 refectored vor V2
2022-11-07 16:34:02 -10:00
Mateusz Pusz
cb861dd81a
feat: system's definition highly simplified by removing the need for a system_reference for most cases
2022-10-25 07:27:08 +02:00
Mateusz Pusz
ec1dace1f9
feat: PrefixableUnit concept introduced
2022-10-19 13:15:02 +02:00
Mateusz Pusz
a5c7934e0e
refactor: units nearly done
2022-10-18 21:24:09 +02:00
Mateusz Pusz
6a6fda1837
style: SI unit symbols definition cleanup
2022-10-18 16:09:35 +02:00
Mateusz Pusz
4a49bdda05
refactor: V2 design update
2022-10-06 23:43:01 +01:00
Mateusz Pusz
2f365b5135
refactor: mag and mag_power changed to variable templates
2022-09-15 15:13:46 -06:00
Mateusz Pusz
daf97a3a86
feat: initial very dirty version of V2 framework
2022-09-08 19:11:45 +02:00
Mateusz Pusz
520c944971
feat: 💥 reduced_planck constant removed as it is unclear if it should be angular or not (leave the choice to the user)
2022-09-03 12:29:58 +02:00
Mateusz Pusz
1096d8d8ba
fix: luminous flux support fixed
2022-09-01 12:18:18 +02:00
Mateusz Pusz
a92a315bda
feat: angular acceleration support added
2022-09-01 12:05:20 +02:00
Mateusz Pusz
1cb9d35d66
fix: radian_per_second unit symbol fixed
2022-09-01 12:02:45 +02:00
Chip Hogg
ea83af8aa9
Rename as_magnitude<...>() to mag<...>()
...
This is easier to write and to read.
2022-07-29 01:46:06 +00:00
Chip Hogg
0adee83866
Use mag_power to make callsites more concise
2022-07-27 14:30:38 +00:00
Chip Hogg
6a9dcb30de
Migrate explicit-exp inputs
2022-07-20 00:52:36 +00:00
Chip Hogg and Johel Ernesto Guerrero Peña
fd7b4df29d
Add zebi and yobi prefixes
...
Switching to Magnitude makes these easy.
Co-authored-by: Johel Ernesto Guerrero Peña <johelegp@gmail.com >
2022-07-07 21:02:24 +00:00
Chip Hogg
e1a173a02d
Migrate prefixes to Magnitude
2022-07-07 17:09:42 +00:00
Chip Hogg
3916b29e53
Move known_first_factor specialization outside namespace
2022-06-15 21:34:45 +00:00
Chip Hogg
c8ec771d69
Help factoring for eV/c
2022-06-15 21:19:39 +00:00
Chip Hogg
6d66ac566e
Migrate new lumen as well
2022-06-15 21:11:50 +00:00
Chip Hogg
ef9e6522ca
Merge branch 'master' into chiphogg/switch-to-mag
2022-06-15 20:50:30 +00:00
Mateusz Pusz
7a368ab3e4
fix: hyperfine_structure_transition_frequency fixed to properly initialize Rep type
2022-05-22 19:50:36 +02:00
Mateusz Pusz
49eb4523cd
refactor: units:: namespace prefix is no longer needed before prefix
2022-05-21 18:56:47 +02:00
Mateusz Pusz
4a09edfcbf
feat: luminous_efficacy SI defining constant support added
2022-05-13 14:32:57 +02:00
Mateusz Pusz
13f03bfe70
feat: luminous_flux support added
2022-05-13 14:31:13 +02:00
Mateusz Pusz
10f8254cc8
style: si.h includes order fixed
2022-05-13 09:56:58 +02:00
Chip Hogg
59fa420272
Fix remaining builds/tests
2022-05-12 16:52:05 +00:00
Chip Hogg
5fb468697b
Merge branch 'master' into chiphogg/switch-to-mag
2022-05-12 16:12:01 +00:00
Mateusz Pusz
5300caf17b
refactor: 💥 ! derived_deduced_unit renamed to derived_scaled_unit
...
Naming is hard ;-)
2022-05-11 12:34:52 +02:00
Mateusz Pusz
32b36fb670
refactor: 💥 ! PrefixFamily support removed
...
It doesn't have much sense to restrict prefixes usage for most units and in many places we were wrong to do so already.
2022-05-11 11:59:33 +02:00
Mateusz Pusz
0522bae972
refactor: 💥 ! unit renamed to derived_unit
2022-05-11 11:40:19 +02:00
Mateusz Pusz
f5d21a0711
refactor: 💥 ! derived_unit renamed to derived_deduced_unit
2022-05-11 11:23:18 +02:00
Mateusz Pusz
8b52f46bed
fix: fps can now coexist with international system
...
Resolves #347
2022-05-09 14:01:08 +02:00
Mateusz Pusz
a7f1817c9b
feat: SI prefixes allowed for a yard unit as at least kiloyard is used in some domains
2022-05-09 13:59:56 +02:00
Mateusz Pusz
fbc6744bdb
fix: ω, au, and Da allowed to have SI prefixes
...
Relates to #359
2022-04-27 19:33:44 +02:00
Mateusz Pusz
4361cb874e
fix: hectare definition fixed to be a prefixed version of are + other units
...
Relates to #359
2022-04-27 19:32:21 +02:00
Mateusz Pusz
5d82969e0a
fix: enable SI prefixes for Kelvin
...
Resolves #359
2022-04-26 16:00:20 +02:00
Mateusz Pusz
98da140fae
ci: pre-commit cmake-format checks fixed
2022-04-24 22:55:30 +02:00
Mateusz Pusz
d18bf2229a
test: standalone public headers tests added
2022-04-24 19:59:46 +02:00
Mateusz Pusz
464b4467ee
fix: public headers fixed to be standalone
2022-04-24 19:52:58 +02:00
Mateusz Pusz
56cee31a67
fix: si::hep::dim_momentum duplicated definition fixed
2022-04-24 19:52:07 +02:00
Mateusz Pusz
e62c162610
fix: radioactivity header compilation fixed
2022-04-23 16:52:06 +02:00
Mateusz Pusz
e525c0c892
refactor: knot text symbol changed from "knot" to "kn"
...
Relates to #357
2022-04-19 18:57:06 +02:00
Mateusz Pusz
e660278fa8
feat: nautical_mile_per_hour and knot added to si::international system
...
Relates to #357
2022-04-19 18:49:48 +02:00
Mateusz Pusz
999ff52d70
refactor: knot unit helper renamed to kn in FPS
...
Relates to #357
2022-04-19 18:48:46 +02:00
Mateusz Pusz
a0c6252567
refactor: mi(naut) renamed to nmi
...
Relates to #357
2022-04-19 18:47:48 +02:00
Chip Hogg
7a03692e14
Annotate 225'653'407'801 as prime
2022-04-12 00:32:24 +00:00
Chip Hogg
d19b2803ce
Migrate units from ratio to Magnitude
...
This commit is huge, but hopefully the cognitive load is not too bad.
The bulk of this commit is just some fairly mechanical updates from
`ratio` to `Magnitude`. Other things to call out:
- `UnitRatio` goes away. We don't need this concept, because Magnitude
can't even _represent_ anything that doesn't satisfy it.
- I commented out some formatting test cases where the precise
expression changes, but the number is completely equivalent. We will
need to decide how we want to handle Magnitude formatting as a
separate, follow-on task. But at least Magnitude gives us all the
tools we'll need to do so!
2022-04-11 15:16:16 +00:00
Mateusz Pusz
b221dace3f
style: clang-format applied to the remaining files
2022-04-02 21:36:42 +02:00