Commit Graph

217 Commits

Author SHA1 Message Date
Mateusz Pusz
5ddbd62ea4 feat(example): is_vector specialization no longer needed for si_constants 2024-11-12 14:19:39 +01:00
Mateusz Pusz
da50348115 feat: 💥 RepresentationOf concept now also accepts a QuantitySpec and accepts any representation character for quantity kinds 2024-11-07 18:39:32 +01:00
Mateusz Pusz
6896d8e086 fix: velocity is now defined in terms of displacement instead of position_vector 2024-11-06 18:46:01 +01:00
Mateusz Pusz
0c692dca8c fix: position_vector is a specialized displacement 2024-11-06 18:30:51 +01:00
Mateusz Pusz
856e42e4f5 style: pre-commit 2024-10-30 13:20:42 +01:00
Mateusz Pusz
1aac89f412 docs: pi definition fixed 2024-10-30 09:57:14 +01:00
Mateusz Pusz
8ca8270d2f feat: from now on truncation is not allowed in compound assignment 2024-10-30 08:40:49 +01:00
Mateusz Pusz
975025f88a refactor: 💥 convertibility traits and concepts refactored to use bool flags instead of wrappers 2024-10-29 13:15:10 +01:00
Mateusz Pusz
8cd7f5084e docs: quantity arithmetics chapter updated with improved quantity compoud assignment 2024-10-29 10:18:57 +01:00
Mateusz Pusz
4651c61be4 refactor: Unicode symbols description reworked based on the latest SG16 recommendations 2024-10-28 16:03:09 +01:00
Mateusz Pusz
af18a6ba51 refactor: 💥 𝜋 replaced with π 2024-10-24 07:22:45 +02:00
Mateusz Pusz
a7fcb1d40f style: trailing whitespace fixed in docs 2024-10-16 17:23:57 +02:00
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