Mateusz Pusz
0125bd7762
Derived unit factory helpers refactored
2019-11-08 16:51:45 +00:00
Mateusz Pusz
c6d2002ebd
More fmt unit tests added
2019-11-06 22:45:45 +00:00
Mateusz Pusz
615c80e231
Tabulator and new line format string unit tests added
2019-11-06 21:52:48 +00:00
Mateusz Pusz
1b312b1102
fmt support added
2019-11-06 16:50:34 +00:00
Mateusz Pusz
b5b2c54fe8
Basic std::fmt support added
2019-11-05 20:05:11 +00:00
Mateusz Pusz
4d3e4aa1fc
Surface tension added
2019-11-04 06:46:53 +00:00
Mateusz Pusz
91bcfedf1e
Deduced units symbols refactoring started
2019-11-04 06:45:56 +00:00
Mateusz Pusz
e846d40a33
CGS test added
2019-11-02 13:59:11 +01:00
Mateusz Pusz
367c7d5b6e
my_value constructor refactored
2019-11-02 13:58:35 +01:00
Mateusz Pusz
ee701cf4e7
dimension refactoring
2019-11-02 13:56:53 +01:00
Mateusz Pusz
8543ab65d1
pow<0> support added
2019-10-19 20:51:20 +02:00
Mateusz Pusz
53720c82b8
fmt support started
2019-10-18 23:50:43 +02:00
Mateusz Pusz
987ab86439
Added support for prefixes of non-coherent units
2019-10-18 22:36:57 +02:00
Mateusz Pusz
718e56082a
Prefix definition reworked
2019-10-18 21:34:50 +02:00
Mateusz Pusz
b864461636
Prefixed units support redesigned
2019-10-18 15:34:46 +02:00
Mateusz Pusz
f147da202e
Multiply symbot in a printed unit changed to '⋅'
2019-10-17 12:44:39 +02:00
Mateusz Pusz
3e30c779a6
coherent_derived_unit and custom prefixes support added
2019-10-17 10:16:44 +02:00
Mateusz Pusz
9a9abca81d
Text output support added for quantity
2019-10-16 17:04:41 +02:00
Mateusz Pusz
5082aaaf70
'todo' -> 'TODO' refactoring
2019-10-15 19:05:40 +02:00
Mateusz Pusz
d31d2cf439
Base dimensions refactored
...
-
2019-10-15 19:03:45 +02:00
Mateusz Pusz
c3c5a740d9
derived_units now stores a type provided as a template parameter rather than its value
2019-10-15 15:20:37 +02:00
Mateusz Pusz
7e31dfe37e
Name renamed to symbol in a derived_unit
2019-10-15 11:47:36 +02:00
Mateusz Pusz
b889c81cb9
Short name added to derived unit definition
2019-10-15 11:32:59 +02:00
Mateusz Pusz
527927e905
pow<3>() check added to the math uni test
2019-10-15 11:27:39 +02:00
Mateusz Pusz
3475f5193e
Catch2 support added ( resolves #8 )
2019-10-14 10:53:02 +02:00
Mateusz Pusz
2fddb494d3
_t postfix removed from the interface (resolves #9 )
2019-10-04 16:22:49 +02:00
Mateusz Pusz
12200f6f40
operator% constrained to integral types only ( resolves #16 )
2019-10-01 16:29:42 +02:00
Mateusz Pusz
6893ff4efc
common_type<my_value<T>, my_value<U>> used in a unit test refactored
2019-09-30 09:06:42 +02:00
Jan Sende
dc85dd84b9
Made quantity_cast more versatile
...
- One can now change the unit type without changing the representation type.
- One can now change the representation type without changing the unit type.
- Had to implement std::common_type<my_value, my_value> to still compile
integration tests. (It implicitly converted to another representation
before.)
2019-09-30 01:45:38 +02:00
Mateusz Pusz
952b19c2ed
bool removed from concepts definitions as gcc-9.1 supports this syntax already
2019-09-28 19:10:06 +02:00
Mateusz Pusz
ea53c30bf0
A commented code changed in test_custom_unit
2019-09-27 10:00:52 +02:00
Mateusz Pusz
c583f771a2
Todos removed from metabench files
2019-09-27 10:00:19 +02:00
Mateusz Pusz
2e1ce83024
Downcasting facility refactored so the user does not have to write the boilerplate code anymore
2019-09-26 22:30:57 +02:00
Mateusz Pusz
ad69f338b8
pow<N>() fixed to work with the integral representations
2019-09-24 16:59:45 +02:00
Mateusz Pusz
0cffcf7849
downcasting_traits renamed to downcast_traits
...
- downcasting_traits -> downcast_traits
- downcasting_traits_t -> downcast_traits_t
- downcast_from -> downcast_base_t
- downcast_to removed
2019-09-20 18:36:14 +02:00
Mateusz Pusz
da11f41529
Unit test for mixed units added
2019-09-18 22:26:30 -06:00
Mateusz Pusz
c3d7359ca3
units removed from a std::experimental namespace
2019-09-18 21:55:16 -06:00
Mateusz Pusz
58106618ac
ratio_pow and ratio_sqrt fixed + unit tests added
2019-09-18 18:34:54 -06:00
Mateusz Pusz
2d74b72893
pow() and sqrt() for quantities support added
2019-09-18 17:07:35 -06:00
Mateusz Pusz
021df4a46f
dimension_sqrt and dimension_pow support added
2019-09-18 15:32:22 -06:00
Mateusz Pusz
36fd4ba97a
Custom derived dimension test refactored to use a new support for extracting derived dimensions
2019-09-18 14:10:26 -06:00
Mateusz Pusz
929a812ec4
cmcstl2 dependency changed to range-v3 0.9.1
2019-09-18 10:29:30 -06:00
Mateusz Pusz
32a65a7405
Support for derived dimensions in exp added
2019-09-18 06:36:52 -06:00
Mateusz Pusz
fc2b1add84
The title of one of the metabench renamed
2019-09-15 20:04:51 -06:00
Mateusz Pusz
5413bb865b
make_dimension metabench test added
2019-09-15 17:33:20 -06:00
Mateusz Pusz
29e8278613
type_list metabench tests updated
2019-09-15 19:23:56 +02:00
Mateusz Pusz
3801152dc7
ratio metabench tests updated
2019-09-15 19:23:20 +02:00
Mateusz Pusz
19e07fd549
Digital information concept added
2019-09-10 22:34:26 +02:00
Mateusz Pusz
bce17a8476
Fractional dimension exponents support added
2019-09-10 21:20:32 +02:00
Mateusz Pusz
497a13da1a
Dependency on gsl-lite removed as it causes issues with compiler-explorer
2019-09-10 20:07:48 +02:00