Mateusz Pusz
|
9a374a5646
|
refactor: isq::time swapped with isq::duration
|
2026-01-09 09:22:37 +01:00 |
|
Mateusz Pusz
|
e770a40910
|
feat: 💥 natural units reworked from scratch
`system_reference` and `AssociatedUnit` removed
|
2026-01-04 20:11:53 +01:00 |
|
Mateusz Pusz
|
6d10a154fa
|
feat: 💥 pi and π is now a unit constant (pi magnitude constant renamed to pi_c)
|
2025-12-28 13:35:54 +01:00 |
|
Mateusz Pusz
|
b7a2cfebe8
|
fix: named_unit can now be created for kind_of<dimensionless>
|
2025-10-16 09:47:23 +02:00 |
|
Mateusz Pusz
|
e058a47baf
|
feat: natural units support is now opt-in
|
2025-07-09 20:05:03 +02:00 |
|
Mateusz Pusz
|
13715168b0
|
test: interconvertible checks removed from units tests
|
2025-04-29 11:38:03 +02:00 |
|
Mateusz Pusz
|
7c54067a55
|
fix: type ordering in a unit test fixed for gcc
|
2025-01-21 12:53:57 +01:00 |
|
Mateusz Pusz
|
becb456da5
|
fix: missing get_common_unit() overload added
Resolves #666
|
2025-01-21 12:37:54 +01:00 |
|
Mateusz Pusz
|
06cbfae3b3
|
feat: quantity_spec conversions improved
|
2024-12-28 14:02:03 +01:00 |
|
Mateusz Pusz
|
2590aa4b80
|
refactor: MP_UNITS_NONCONST_TYPE introduced to benefit from the C++23 feature
|
2024-11-13 21:13:22 +01:00 |
|
Mateusz Pusz
|
06853b7aeb
|
fix: const was leaking to some SymbolicConstants
|
2024-11-08 12:57:29 +01:00 |
|
Mateusz Pusz
|
5810420277
|
refactor: 💥 tag types should not expose their members
|
2024-11-04 09:40:25 +01:00 |
|
Mateusz Pusz
|
9c7d3b0f95
|
fix: operator*(M, U u) fixed for U being scaled_unit
|
2024-10-25 12:07:57 +02:00 |
|
Mateusz Pusz
|
af18a6ba51
|
refactor: 💥 𝜋 replaced with π
|
2024-10-24 07:22:45 +02:00 |
|
Mateusz Pusz
|
6591a65d06
|
feat: 𝜋 added as an alias for pi
|
2024-10-14 22:49:58 +02:00 |
|
Mateusz Pusz
|
70a18fec0c
|
refactor: 💥 op==(U1, U2) now checks for the same type (old behavior available as equivalent(U1, U2)) + convertible now verifies associated quantity_spec as well
|
2024-10-09 17:26:13 +02:00 |
|
Mateusz Pusz
|
cff9e25d3e
|
feat: common_unit selection algorithm improved to make rev + rad return rad
|
2024-10-05 22:57:46 +02:00 |
|
Mateusz Pusz
|
569f27af8b
|
fix: common_unit handling fixed for some corner cases
|
2024-10-05 17:52:52 +02:00 |
|
Mateusz Pusz
|
eeece8a356
|
feat: scaled_unit does not have a priority over derived_unit anymore
We want `pow<2>(mag<3600> * second)` to print `[3600 s]^2` and `42 * (mag<10> * metre) / (mag<20> * second)` to print `42 [10 m]/[20 s]`
|
2024-10-02 16:10:29 +02:00 |
|
Mateusz Pusz
|
3190d15eba
|
feat: common_unit support added
|
2024-09-26 20:28:41 +02:00 |
|
Mateusz Pusz
|
dcab80525d
|
refactor: 💥 common_XXX() functions renamed to get_common_XXX()
This is needed to release a name for `common_unit` type that is coming soon.
|
2024-09-24 09:36:59 +02:00 |
|
Mateusz Pusz
|
3671f64153
|
refactor: 💥 magnitudes code cleanup + mag_pi is now mag<pi>
|
2024-09-23 13:42:39 +02:00 |
|
Mateusz Pusz
|
45013f6752
|
fix: inline restored for non-template constexpr global variables
|
2024-09-05 10:06:43 +02:00 |
|
Mateusz Pusz
|
2e840cfdb4
|
refactor: Repetitive inline constexpr removed as no longer needed
Not needed anymore as stated in cplusplus/draft#4601
|
2024-09-05 08:43:36 +02:00 |
|
Mateusz Pusz
|
77625d63cb
|
feat: 💥 unit_can_be_prefixed removed - from now on all named units can be prefixed
Resolves #604
|
2024-08-22 08:06:00 +02:00 |
|
Mateusz Pusz
|
b870b85c25
|
feat: import std; support added
Resolves #595
|
2024-07-16 17:36:00 +02:00 |
|
Mateusz Pusz
|
0653a2dbf7
|
fix: non-portable unit test removed
|
2024-07-12 18:46:26 +02:00 |
|
Mateusz Pusz
|
d341c166e1
|
fix: types ordering in one of the unit tests fixed
|
2024-07-12 18:31:54 +02:00 |
|
Mateusz Pusz
|
f73f924b80
|
refactor: small cleanup of unit_test.cpp
|
2024-07-12 17:49:09 +02:00 |
|
Mateusz Pusz
|
adbc77432e
|
feat: all tags in the expression templates are now ordered by the type names
Resolves #499
|
2024-07-12 17:48:38 +02:00 |
|
Mateusz Pusz
|
1365d62293
|
refactor: degree Celsius and Fahrenheit symbols text now use Unicode codepoints
|
2024-07-02 11:43:53 +01:00 |
|
Mateusz Pusz
|
6aa848a456
|
feat: 💥 from now on dimnensions have to be marked as final
|
2024-06-12 14:17:32 +02:00 |
|
Mateusz Pusz
|
c69bd140b2
|
refactor: all units made final
|
2024-06-06 13:18:45 +02:00 |
|
Mateusz Pusz
|
e25364b3e0
|
refactor: not needed remove_reference_t and remove_cvref_t removed
|
2024-06-01 10:03:53 +02:00 |
|
Mateusz Pusz
|
ec287664ee
|
refactor: some TODO comments resolved
|
2024-05-31 21:07:42 +02:00 |
|
Mateusz Pusz
|
c066104af7
|
refactor: 💥 framework.h introduced + IWYU
|
2024-04-24 21:09:29 +02: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
|
5ca9168381
|
feat: proper exports implemented for C++ modules
|
2024-02-23 21:09:17 +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
|
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
|
0eaf6e2e56
|
refactor: modules support redesigned
|
2024-01-06 08:51:01 +01:00 |
|