Commit Graph

3765 Commits

Author SHA1 Message Date
Mateusz Pusz
574dfd133d docs: API Reference now presents _index.html_ instead of _full.hml_ 2024-10-30 13:07:55 +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
d8bc0598fe style: clang-format in pre-commit updated to 19.1.2 2024-10-29 15:04:28 +01:00
Mateusz Pusz
9b3bae0f05 fix: compilation fixed after previous commits 2024-10-29 14:49:02 +01:00
Mateusz Pusz
06d9197f44 refactor: explicit cleanup for deduction guides of quantity and quantity_point 2024-10-29 14:06:32 +01:00
Mateusz Pusz
c51b6e1f75 refactor: Forwarding concept applied to quantity and quantity_point 2024-10-29 13:56:02 +01:00
Mateusz Pusz
699b0e7c23 refactor: quantity_spec.h cleanup: extraneous detail namespace usage removed 2024-10-29 13:20:15 +01:00
Mateusz Pusz
74325e7965 refactor: per_mille symbol definition syntax changed 2024-10-29 13:15:57 +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
18525beb31 test: small refactoring of compund assignment tests 2024-10-29 10:20:11 +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
63dc044dd8 fix: chrono_test.cpp is truncating 2024-10-29 09:37:58 +01:00
Mateusz Pusz
7445585db8 fix: compound assignment operations on quantities now behave the same as on the underying representation types
Resolves #137
2024-10-29 09:18:32 +01:00
Mateusz Pusz
797ae2e559 docs: typo in a comment fixed 2024-10-29 08:35:11 +01:00
Mateusz Pusz
08f90ba474 feat: quantity_values are now defined on top of std::chrono::duration_values 2024-10-28 16:08:56 +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
c72d801ef8 docs: ISQ part 4 released 2024-10-28 11:11:57 +01:00
Mateusz Pusz
c4583d279f docs: CHANGELOG updated 2024-10-27 15:34:39 +01:00
Mateusz Pusz
9c2be96ac2 docs: 2.4.0 release announcement draft added 2024-10-27 15:34:18 +01:00
Mateusz Pusz
045410707e refactor: expr_fractions takes direct OneType type now instead of a trait 2024-10-27 08:02:03 +01:00
Mateusz Pusz
76057eaf7c feat(example): treat_as_floating_point specializations for examples' types removed 2024-10-26 19:15:34 +02:00
Mateusz Pusz
48fcbb8030 feat: DerivedDimensionExpr removed 2024-10-26 19:14:11 +02:00
Mateusz Pusz
424f9665db feat: std::is_object constraint applied to value_type_t 2024-10-26 19:12:10 +02:00
Mateusz Pusz
2a1edbe47a fix: ValuePreservingTo fixed to apply std::remove_cvref_t on FromRep 2024-10-26 19:11:10 +02:00
Mateusz Pusz
8b46723fe2 refactor: wrapped_type_t reuses std::indirectly_readable_traits 2024-10-26 19:09:30 +02:00
Mateusz Pusz
8d24b47948 refactor: treat_as_floating_point simplified and extended to use std::chrono::treat_as_floating_point_v 2024-10-26 19:06:14 +02:00
Mateusz Pusz
e72f3da6d9 refactor: magnitude operators arguments renamed 2024-10-26 11:01:54 +02:00
Mateusz Pusz
4eca0dbc35 refactor: QuantitySpecWithNoSpecifiers removed and kind_of definition simplified 2024-10-26 09:30:17 +02:00
Mateusz Pusz
6ff77120a0 refactor: small unit_concepts.h cleanup 2024-10-25 22:54:32 +02:00
Mateusz Pusz
d83cbc049f feat: MagnitudeSpecExpr and PowerVBase removed and some functions renamed to limit possible ambiguity in overload resolution 2024-10-25 22:53:03 +02:00
Mateusz Pusz
f17e707edc fix: subsumption of QuantityKindSpec fixed 2024-10-25 22:49:58 +02:00
Mateusz Pusz
5ef499ac94 feat: DerivedQuantitySpecExpr and DerivedUnitExpr removed 2024-10-25 22:49:06 +02: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
08b6a51b22 refactor: framework Unicode symbols are now spelled using their codes 2024-10-23 22:12:53 +02:00
Mateusz Pusz
1e38b2791c docs: links to the articles from the ISQ series updated 2024-10-22 20:26:35 +02:00
Mateusz Pusz
245f612210 docs: ISQ part 3 blog post released 2024-10-21 13:03:33 +02:00
Mateusz Pusz
113eb8c735 fix: IWYU: ratio.h in quantity_spec.h 2024-10-20 21:10:44 +02:00
Mateusz Pusz
035eb3acb4 refactor: SameDimension concept is not needed and can be inlined in DimensionOf 2024-10-20 21:10:03 +02:00
Mateusz Pusz
10030c540b test: pow<0> and pow<1> tests added for dimensions 2024-10-20 21:08:42 +02:00
Mateusz Pusz
efb9711f94 feat: expr_pow extended to remove redundancy in callers 2024-10-20 09:46:22 +02:00
Mateusz Pusz
a7fcb1d40f style: trailing whitespace fixed in docs 2024-10-16 17:23:57 +02:00
Mateusz Pusz
00847ab558 fix(tests): freestanding build fixed 2024-10-16 17:22:59 +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
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