Commit Graph

205 Commits

Author SHA1 Message Date
Mateusz Pusz
58f07799e8 docs: "Many shades of the same unit" extended with a note about the derived units order 2024-10-16 17:18:19 +02:00
Mateusz Pusz
5742ca8162 docs: "Common units" chapter cleanup 2024-10-15 20:52:51 +02:00
Mateusz Pusz
6591a65d06 feat: 𝜋 added as an alias for pi 2024-10-14 22:49:58 +02:00
Mateusz Pusz
4eb63227e2 refactor: 💥 ascii -> portable, unicode -> utf8, 'A' -> 'P' 2024-10-10 00:02:08 +02:00
Mateusz Pusz
dd55a52675 feat: alternative litre unit symbol L added to prevent ambiguities with 1 2024-10-06 08:53:04 +02:00
Mateusz Pusz
2249879d62 feat: litre text symbol changed from l to L to avoid ambiguity with 1 2024-10-06 08:32:16 +02:00
Mateusz Pusz
21d07a4cf4 docs: "Symbols of scaled units" chapter added + minor updates to scaled and common units chapters 2024-10-05 18:11:18 +02:00
Mateusz Pusz
defc69b346 refactor: 💥 mag_constant now takes a symbol and a value and the class deriving from it must be final 2024-10-02 19:05:45 +02:00
Mateusz Pusz
25e99fe0fa feat: common unit symbols now use EQUIV{u1, u2, ...} syntax 2024-10-02 08:14:37 +02:00
Mateusz Pusz
74c55baebe docs: minor cleanup of quantity hierarchies 2024-10-01 19:52:06 +02:00
Mateusz Pusz
801e14c9d9 docs: minor styling changes to the "Systems of Quantities" chapter 2024-09-30 18:25:53 +02:00
Mateusz Pusz
dc8772ca23 docs: graphs of ISQ kind hierarchies improved 2024-09-28 15:54:42 +02:00
Mateusz Pusz
47344b13bd refactor: pi mag_constant refactored to be one-liner 2024-09-28 15:20:41 +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
c05e1bcdb7 docs: fix typo in the "Value conversions summary" chapter 2024-09-24 09:02:48 +02:00
Mateusz Pusz
226118852f docs: imrpove "Superpowers of the unit one" chapter 2024-09-24 09:02:25 +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
e92178abef refactor: 💥 iec80000 system renamed to iec 2024-09-20 10:01:32 -06:00
Mateusz Pusz
6e6e0ce2d8 docs: line breaks in mermaid graphs fixed 2024-09-19 21:12:16 -06:00
Mateusz Pusz
5305de7a28 docs: "Text Formatting" tag removed from avg_speed example 2024-09-17 17:12:14 -06:00
Mateusz Pusz
7e777f228a fix: hw_voltage compilation fixed on C++20 2024-09-17 17:11:33 -06:00
Mateusz Pusz
3ead7c2d52 feat: hw_voltage example added 2024-09-17 16:12:03 -06:00
Mateusz Pusz
80880f1014 docs: examples line numbers fixed 2024-09-17 16:11:19 -06:00
Mateusz Pusz
0670fbdd9f feat: value_cast<Representation, Unit>() complementary conversion function added 2024-09-13 21:38:59 +02:00
Mateusz Pusz
ae816a97fc docs: "Unit symbols" chapter added 2024-09-13 17:07:03 +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
aab0ef8ea0 docs: a tip with unit_can_be_prefixed workaround added 2024-08-21 11:17:41 +02:00
Mateusz Pusz
fcc16ae282 feat: convertibility of a quantity with a unit one with the raw value added
Resolves #553
2024-07-14 18:31:11 +02:00
Mateusz Pusz
2cff579650 feat: representation type template parameter added to value convertion functions
Resolves #588
2024-07-04 22:05:40 +01:00
Mateusz Pusz
5903e5661f refactor: 💥 quantity_point_like_traits now use numerical value instead of the quantity
Resolves #531
2024-07-04 16:40:40 +01:00
Mateusz Pusz
79488ef17d docs: one more small improvement 2024-07-04 12:15:31 +01:00
Mateusz Pusz
5a588e5f45 docs: code example in "Radians and degrees support" chapter improved 2024-07-04 12:14:40 +01:00
Mateusz Pusz
031ee04a1c docs: "Radians and degrees support" added 2024-07-04 10:39:26 +01:00
Mateusz Pusz
485a53d3d7 docs: small cleanup of the Affine Space chapter 2024-07-02 11:45:11 +01: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
3d6e50c67a refactor: UnitCompatibleWith is now exposition-only 2024-06-30 12:06:26 +02:00
Mateusz Pusz
ba8681f90b feat: 💥 delta and absolute construction helpers 2024-06-30 12:03:24 +02:00
Mateusz Pusz
fc1c11cd96 docs: broken links to systems subdirectory fixed 2024-06-25 13:49:50 -05:00
Mateusz Pusz
9d57cf2758 docs: "Interface Introduction" chapter updated 2024-06-22 10:57:06 +02:00
Mateusz Pusz
cdd345c9ec docs: typo in the affine space chapter fixed 2024-06-20 12:43:08 +02:00
Mateusz Pusz
4b46be7604 refactor: reference specifiers are now variable templates 2024-06-20 09:20:33 +02:00
Mateusz Pusz
1eac5a923b docs: documentation updated for reference specifiers 2024-06-20 08:54:58 +02:00
Mateusz Pusz
5b9fa4f331 docs: "Strong Angular System" chapter added 2024-06-19 15:53:22 +02:00
Mateusz Pusz
b113f6ad0e Merge branch 'master' into feature/more-value-casts 2024-06-14 21:44:19 +09:00
Mateusz Pusz
05fc1e29c8 refactor: 💥 from now on point origins must be marked final + absolute_point_origin does not use CRTP anymore 2024-06-13 19:24:40 +02:00
Mateusz Pusz
5f67523a8a feat: 💥 from now on quantity specifications have to be marked as final 2024-06-13 12:05:16 +02:00
Mateusz Pusz
6aa848a456 feat: 💥 from now on dimnensions have to be marked as final 2024-06-12 14:17:32 +02:00