Mateusz Pusz
|
7ef8193dfc
|
fix: modulo operation logic fixed
|
2023-04-10 19:46:50 +02:00 |
|
Mateusz Pusz
|
ccb06bc0c4
|
fix: CTAD from raw value restored for quantity_point of dimensionless[one]
|
2023-04-10 18:17:34 +02:00 |
|
Mateusz Pusz
|
d65393b4e2
|
refactor: quantity_spec casts functions renamed
|
2023-04-08 19:49:51 +02:00 |
|
Mateusz Pusz
|
760c6d724e
|
fix: incorrect unit of pow(), sqrt(), and cbrt() fixed
Resolves #449
|
2023-04-08 19:33:00 +02:00 |
|
Mateusz Pusz
|
40f6ae2da7
|
refactor: quantity refactored + quantity_test updated to reflect and test changes
|
2023-04-05 17:24:08 +02:00 |
|
Mateusz Pusz
|
db2edfb539
|
feat: as_ratio(Magnitude) enabled
|
2023-04-04 14:27:04 +02:00 |
|
Mateusz Pusz
|
660e62c0a6
|
refactor: chrono_test refactored to V2
|
2023-04-03 19:23:08 +02:00 |
|
Mateusz Pusz
|
8e8f17cb96
|
fix: get_equation now calls proper pow() overload
|
2023-04-03 17:45:43 +02:00 |
|
Mateusz Pusz
|
e6eb908503
|
feat: convertible quantity kinds can now be compared
|
2023-04-03 17:44:34 +02:00 |
|
Mateusz Pusz
|
e39555e90d
|
feat: arithmetics on dimensionless quantities extended to units different than one
|
2023-03-30 17:47:47 +02:00 |
|
Mateusz Pusz
|
56dcb716e3
|
fix: some preprocessor branches fixed
|
2023-03-30 17:04:25 +02:00 |
|
Mateusz Pusz
|
99283dce1c
|
fix: a workaround for compilation error on MSVC and gcc-10 added
|
2023-03-30 13:34:06 +02:00 |
|
Mateusz Pusz
|
33d9f43b0f
|
style: clang-format-16 applied to all the code base
|
2023-03-29 17:05:02 +02:00 |
|
Cazadorro
|
03dc1c8a3c
|
Added check for gsl::gsl-lite to avoid find_package if targets already added by add_subdirectory(...) and did the same for fmt::fmt and ranges-v3, with out these changes, impossible to use library if dependencies are also subdirectories
|
2023-03-13 14:56:42 -05:00 |
|
Johel Ernesto Guerrero Peña
|
fbbddb9e7b
|
refactor: update hacks for LLVM 17
|
2023-03-04 14:28:37 -04:00 |
|
Mateusz Pusz
|
81949e5ff1
|
refactor: explicit conversion constructors of quantity removed
|
2023-02-14 17:21:54 +01:00 |
|
Mateusz Pusz
|
b7628a1752
|
feat: initial version of quantity_spec conversions implemented
|
2023-02-14 12:28:34 +01:00 |
|
Mateusz Pusz
|
89756c5b74
|
feat: QuantityKindSpec concept support added + some cleanup
|
2023-02-13 18:35:07 +01:00 |
|
Mateusz Pusz
|
dd7c63b242
|
fix: quantity construction fixed in some operators
|
2023-02-13 18:34:00 +01:00 |
|
Mateusz Pusz
|
6b2606a8aa
|
feat: explicit quantity_spec conversion support added to quantity constructor
|
2023-02-13 18:33:19 +01:00 |
|
Mateusz Pusz
|
41043c25f2
|
refactor: base unit definition refactored
|
2023-02-13 18:30:41 +01:00 |
|
Mateusz Pusz
|
0d33926a74
|
feat: specifying an associated quantity for a derived unit support added
|
2023-02-13 18:29:27 +01:00 |
|
Mateusz Pusz
|
1492c5c19e
|
refactor: expr_fractions now takes a class-based type trait
|
2023-02-13 18:23:35 +01:00 |
|
Mateusz Pusz
|
75c3e26a53
|
fix: has_associated_quantity fixed
|
2023-02-13 18:18:08 +01:00 |
|
Mateusz Pusz
|
a37df7504b
|
fix: quantity_cast fixed
|
2023-02-13 18:17:41 +01:00 |
|
Mateusz Pusz
|
195f9c13b9
|
feat: get_common_base() added
|
2023-02-13 18:14:46 +01:00 |
|
Mateusz Pusz
|
a13e627c9f
|
feat: proper support of kinds added to get_associated_quantity()
|
2023-02-13 18:13:41 +01:00 |
|
Mateusz Pusz
|
9436229ed2
|
refactor: the rest of the code refactored for new quantity construction way
|
2023-02-10 17:20:48 -08:00 |
|
Mateusz Pusz
|
a56696ee74
|
feat: leveled quantity specification conversion introduced
|
2023-02-10 17:16:51 -08:00 |
|
Mateusz Pusz
|
17e8558555
|
refactor: operations on friends made hidden friends
|
2023-02-09 09:59:11 -08:00 |
|
Mateusz Pusz
|
d70b95237c
|
refactor: Quantity no longer can be constructed with a raw value
Resolves #434
|
2023-02-09 09:42:00 -08:00 |
|
Mateusz Pusz
|
bb6c942e0c
|
refactor: common_quantity_spec now starts with a check of arguments equality
|
2023-02-08 22:15:44 -08:00 |
|
Mateusz Pusz
|
3686397882
|
refactor: minor code cleanup
|
2023-02-08 22:07:12 -08:00 |
|
Mateusz Pusz
|
bb05e3434e
|
feat: type traits for template template auto parameters added
|
2023-02-08 22:03:41 -08:00 |
|
Mateusz Pusz
|
26ed241662
|
fix: value_cast fixed
|
2023-02-08 21:15:42 -08:00 |
|
Mateusz Pusz
|
1f2e57a575
|
refactor: interconvertible renamed to convertible_to
|
2023-02-08 21:14:17 -08:00 |
|
Mateusz Pusz
|
c21bde85a3
|
refactor: same_canonical_reference_unit renamed to have_same_canonical_reference_unit
|
2023-02-08 21:11:57 -08:00 |
|
Mateusz Pusz
|
faffbefad2
|
refactor: get_dimension_for() no longer needed
|
2023-02-08 21:09:20 -08:00 |
|
Mateusz Pusz
|
4484148735
|
fix: ambiguity on common_reference resolved
|
2023-02-08 21:06:14 -08:00 |
|
Mateusz Pusz
|
fbc34c8b98
|
refactor: get_associated_quantity.h moved to a dedicated header file
|
2023-02-08 21:05:31 -08:00 |
|
Mateusz Pusz
|
290f406746
|
fix: quantity creation in its operator/ fixed
|
2023-02-08 21:00:52 -08:00 |
|
Mateusz Pusz
|
68617f68b0
|
feat: quantity.h now exports quantity_cast and value_cast to simplify library usage
|
2023-02-08 20:59:08 -08:00 |
|
Mateusz Pusz
|
8a0a61b589
|
refactor: DerivedQuantitySpec implementation simplified
|
2023-02-07 22:28:14 -08:00 |
|
Mateusz Pusz
|
8de74eb6f7
|
feat: call operator of reference does not produce a quantity anymore
|
2023-02-06 22:39:23 -08:00 |
|
Mateusz Pusz
|
ebccabc94c
|
refactor: DerivedDimension definition simplified
|
2023-02-06 22:34:59 -08:00 |
|
Mateusz Pusz
|
764e211f9a
|
fix: perfect forwarding of a number in the reference multiply operator fixed
|
2023-02-03 16:52:17 +01:00 |
|
Mateusz Pusz
|
0b053933bd
|
feat: core.h header added
|
2023-02-03 16:51:26 +01:00 |
|
Mateusz Pusz
|
cd0ee9276b
|
feat: quantity_cast and multiplying by reference now use perfect forwarding of a number
|
2023-02-03 15:22:54 +01:00 |
|
Mateusz Pusz
|
7dd5580afb
|
fix: value_cast compilation fixed
|
2023-02-03 15:19:25 +01:00 |
|
Mateusz Pusz
|
b4f47c3fef
|
feat: value_cast support added
Resolves #239 and #120
|
2023-02-03 11:08:13 +01:00 |
|