Commit Graph

3721 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
50b4ed94d2 docs: "Why derived units order is not preserved from the multiplication?" chapter added to FAQ 2024-10-16 17:17:48 +02:00
Mateusz Pusz
b5ca8c78eb test: one kind_of test added to reference tests 2024-10-15 21:07:46 +02:00
Mateusz Pusz
21784b125e refactor: derived_quantity refactored to child_quantity 2024-10-15 21:06:52 +02:00
Mateusz Pusz
3eecdf3946 test: commutativity tests added to ISQ 2024-10-15 21:06:18 +02:00
Mateusz Pusz
820c7a5959 test: more std::chrono tests added 2024-10-15 21:04:52 +02:00
Mateusz Pusz
91f0ad0a12 refactor: quantity.h is not needed in constants.h (unit.h is enough) 2024-10-15 21:03:43 +02:00
Mateusz Pusz
f60328725e build: operator*(R, Rep&&) deletion comment fixed 2024-10-15 21:02:37 +02:00
Mateusz Pusz
931656254f refactor: 💥 char_traits removed from fixed_string 2024-10-15 21:00:50 +02:00
Mateusz Pusz
6c4f7e2692 refactor: one_of usage removed from the fixed_string deduction guides 2024-10-15 20:53:53 +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
f5649205cf docs: simple grammar fix to the previous commit 2024-10-14 19:03:04 +02:00
Mateusz Pusz
8f45f5f66d docs: intro to ISQ part 2 changed 2024-10-14 19:01:35 +02:00
Mateusz Pusz
a6e4f897a8 docs: ISQ part 2 published 2024-10-14 18:42:50 +02:00
Mateusz Pusz
89bafed961 docs: conan profile updated to present gcc-14 instead of gcc-12 which is no longer supported 2024-10-11 12:59:38 +02:00
Mateusz Pusz
87d0d73d1b fix: MSVC bug workaround 2024-10-10 22:40:49 +02:00
Mateusz Pusz
527c6dae63 test: fmt unit tests updated to the latest version 2024-10-10 09:00:31 +02:00
Mateusz Pusz
195c3ad68b test: Unicode symbols used in unit tests 2024-10-10 00:12:43 +02:00
Mateusz Pusz
d790c8b44a feat: Unicode unit symbols 2024-10-10 00:10:05 +02:00
Mateusz Pusz
4eb63227e2 refactor: 💥 ascii -> portable, unicode -> utf8, 'A' -> 'P' 2024-10-10 00:02:08 +02:00
Mateusz Pusz
cb424a79c0 fix: math functions constraints fixed 2024-10-09 18:28:44 +02:00
Mateusz Pusz
f1590b0f04 refactor: magnitude::op==() now uses our own is_same_v 2024-10-09 17:28:04 +02:00
Mateusz Pusz
2b1e7edd69 refactor: derived_from_the_same_base_dimension no longer needed 2024-10-09 17:27:01 +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
e3ce507fd3 docs: initial version of ISQ part 5 added 2024-10-08 09:15:57 +02:00
Mateusz Pusz
01c5169600 docs: ISQ part 1 published 2024-10-07 08:42:38 +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
65860ad7d7 build: setting of some test_package CMake options enabled only for a cxx_modules build 2024-10-06 08:06:38 +02:00
Mateusz Pusz
ee7caf494e docs: better_type_name description added in a comment 2024-10-06 08:05:10 +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
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
569f27af8b fix: common_unit handling fixed for some corner cases 2024-10-05 17:52:52 +02:00
Mateusz Pusz
07e4e795c1 refactor: magnitude interface cleanup 2024-10-04 17:22:15 +02:00
Mateusz Pusz
f07e518ff0 test: unit tests for the inverse of mag_constant added 2024-10-04 14:59:39 +02:00
Mateusz Pusz
fbe384a476 feat: TagType concept added 2024-10-04 14:55:59 +02:00
Mateusz Pusz
909d7d9065 docs: added TODO for radical powers of magnitude tests 2024-10-04 09:13:08 +02:00
Mateusz Pusz
a95b2c770e fix: explicit cast added to less for magnitudes to fix clang-arm64 conversion error 2024-10-03 22:10:38 +02:00
Mateusz Pusz
cc521ee723 fix: magnitude compilation fixed 2024-10-03 20:40:46 +02:00
Mateusz Pusz
dba8b07eb5 feat: added support for printing powers of magnitude constants 2024-10-03 19:36:37 +02:00
Mateusz Pusz
d783c3cda9 feat: magnitude text now obeys formatting parameters and knows how to print constants 2024-10-03 18:39:41 +02:00
Mateusz Pusz
5c1035a312 fix: extraneous space in unit symbol having only denominators removed 2024-10-03 18:34:37 +02:00
Mateusz Pusz
2c15f3c058 feat: tag types are now required to be empty 2024-10-03 16:51:01 +02:00
Mateusz Pusz
6f771e0ed7 refactor: shorten_T removed 2024-10-03 16:46:57 +02:00
Mateusz Pusz
87ed5c02d2 refactor: unit_symbol_formatting moved to a dedicated header file 2024-10-03 16:46:17 +02:00
Mateusz Pusz
1ee98471ac refactor: unit_symbol_impl simplified 2024-10-03 16:44:59 +02:00
Mateusz Pusz
51dc1d7469 fix: according to ISO 80000-16 % should always be prefixed with space 2024-10-03 11:54:40 +02:00
Mateusz Pusz
1a8a386460 feat: fractional exponents support added to mag_power 2024-10-03 10:25:23 +02:00
Mateusz Pusz
f3e1ace5f6 refactor(tests): usf alias provided in unit_symbol_test.h 2024-10-03 09:22:49 +02:00