implementing units::ratio_add and tests

not yet used in src/include/units/bits/dim_consolidate.h
because it breaks and cascades (due to new exponent we think)
This commit is contained in:
Oliver Schönrock
2020-02-16 14:53:06 +01:00
committed by Mateusz Pusz
parent dfb9042e9d
commit 0566cc631d
4 changed files with 60 additions and 14 deletions
+1
View File
@@ -39,4 +39,5 @@ namespace {
static_assert(std::is_same_v<decltype(sqrt(4km2)), decltype(2km)>);
static_assert(std::is_same_v<decltype(sqrt(4ft2)), decltype(2ft)>);
} // namespace