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
Mateusz Pusz
b221dace3f
style: clang-format applied to the remaining files
2022-04-02 21:36:42 +02:00
Markus Hofbauer
cf7a7ed17a
check: run pre-commit on all files
2022-04-02 18:58:23 +02:00
Johel Ernesto Guerrero Peña
94d143ef7e
build(cmake): fix export name of mp-units-system
2022-03-20 09:17:25 -04:00
Markus Hofbauer
4c127797da
check: run pre-commit on all files
2022-03-18 16:12:21 +01:00
Mateusz Pusz
144f6951c0
style: all files refromatted with clang-format
2022-03-17 23:59:48 +01:00
Mateusz Pusz
04e66188bd
fix: HEP compilation issues fixed
2021-09-09 09:20:10 +02:00
Ralph J. Steinhagen
157da0d068
added fixes to address review comments
...
* removed commented code in hep/area.h
* added dependency to si-hep in conanfile.py
* removed redundant electronvolt definition in hep/energy.h (+ last-minute bug/typo fix)
2021-08-14 19:57:32 +02:00
rstein
cc5318e5cc
refactored HEP units into separate files and corrected namespace where necessary
2021-08-04 13:46:48 +02:00
Ralph J. Steinhagen
322cde70b9
added HEP specific units and definitions
...
in accordance with https://www.bipm.org/documents/20126/41483022/SI-Brochure-9.pdf#page=147
see also disccusion thread #292
2021-08-03 10:56:47 +02:00
Mateusz Pusz
6e42cabc64
feat: a support to define ISQ derived dimensions in terms of different number or order of components
2021-05-11 15:31:46 +02:00
Mateusz Pusz
b894ee6558
refactor: 💥 got rid of a noble_derived_unit
...
Resolves #280
2021-05-10 18:03:47 +02:00
Mateusz Pusz
8e88f06380
refactor: *deduced_unit renamed to *derived_unit
2021-05-10 15:56:48 +02:00
Mateusz Pusz
2c8c6c2e98
refactor: quantity cration helpers are not opt-out rather than opt-in
...
Resolves #277
2021-05-09 15:52:20 +02:00
Mateusz Pusz
8623939258
fix: header inclusion recursion fixed
2021-04-16 13:53:38 +02:00
Mateusz Pusz
46e1e5e932
refactor: US system renamed to USCS
2021-04-16 12:40:52 +02:00
Mateusz Pusz
70bff31d06
feat: quantity aliases support addded
2021-04-15 19:13:25 +02:00
Mateusz Pusz
ec8c19b947
refactor: natural units refactored
2021-04-15 14:03:32 +02:00
Mateusz Pusz
8ca2b25349
fix: torque literal fixed + experimental_angle example refactored
2021-04-07 19:07:25 +02:00
Mateusz Pusz
bd862d3517
refactor: Fine-grained references support added
2021-04-07 11:26:45 +02:00
Mateusz Pusz
512406e900
build: got rid of global options for references and literals
2021-04-06 16:30:26 +02:00
Mateusz Pusz
b982921d27
refactor: References are now guarded UNITS_REFERENCES with (ON by default) + examples duplicated to subdirectories
...
Now References can be disabled to meassure a compile time impact. Also the same examples are now provided in two subdirectories to be able to easily compare the pros and cons of every quantity construction technique.
2021-04-06 15:57:28 +02:00
Mateusz Pusz
c3659dbb47
refactor: UNITS_UDLS renamed to UNITS_LITERALS
...
Also now the existence of the preprocessor flag is enough to trigger the feature (`#ifdef` instead of `#if`)
2021-04-06 13:33:27 +02:00
Mateusz Pusz
dfd209ed14
fix: femtotonne enabled
2021-04-02 18:57:17 +02:00
Mateusz Pusz
9054420d08
build: Added an option to disable UDLs support
...
Now it is time to get rid of UDLs from tests and examples and then disable them by default.
2021-04-01 09:36:55 +02:00
Mateusz Pusz
31bf975e11
Merge branch 'master' of github.com:mpusz/units
2021-03-30 13:23:06 +02:00
Mateusz Pusz
37cfc53d1d
refactor: IWYU applied to the source files
...
`alternative_namespaces` examples left out as I consider them a subject for removal in the nearest future.
2021-03-30 13:21:05 +02:00
Mike Ford
6004fa192a
fix: corrected old names in si::constants
...
substance -> amount_of_substance
temperature -> thermodynamic_temperature
2021-03-27 18:39:04 +01:00
Björn Schäpers
adca315f15
fix: Add missing include
...
Otherwise the namespace si is not defined
2021-03-25 08:54:22 +01:00
Mateusz Pusz
fc7b0e44e2
feat: 💥 !data system renamed to isq::iec80000 (quantity names renamed too)
...
Relates to #253
2021-03-19 23:04:52 +01:00
Mateusz Pusz
88e642ec74
refactor: QuantityValue concept renamed to Representation
2021-03-19 07:53:18 +01:00
Mateusz Pusz
07cb258eff
Merge branch 'add_symbolrate' of https://github.com/go2sh/units into go2sh-add_symbolrate
2021-03-19 07:35:20 +01:00
Mateusz Pusz
6c4dc95897
Merge branch 'add_si_prefix_bit' of https://github.com/go2sh/units into go2sh-add_si_prefix_bit
2021-03-19 07:24:53 +01:00
Johel Ernesto Guerrero Peña
018c5837f9
refactor: rename unit_constants to references
...
Addresses https://github.com/mpusz/units/pull/261#discussion_r596663522 .
2021-03-18 22:37:25 +01:00
Johel Ernesto Guerrero Peña
9a520edfe9
refactor!: replace one_rep with reference<D, U>
2021-03-18 22:37:25 +01:00
Mateusz Pusz
37473eb8ad
refactor: core-io and core-fmt separate modules added
2021-03-17 13:46:28 +01:00
Mateusz Pusz
b356a53fa4
build: installation of mp-units and mp-units-systems fixed
2021-03-16 23:40:57 +01:00
Mateusz Pusz
221883bb25
build: core library and each system separated to dedicated CMake targets
...
Refers to #249
2021-03-16 23:05:45 +01:00