Base unit for SI mass fixed

This commit is contained in:
Mateusz Pusz
2020-02-02 15:37:51 +01:00
parent 3dc34d2d2e
commit 518c52cda1

View File

@@ -28,8 +28,8 @@
namespace units::si { namespace units::si {
struct gram : named_unit<gram, "g", prefix> {}; struct kilogram : named_unit<kilogram, "kg", no_prefix> {};
struct kilogram : prefixed_unit<kilogram, kilo, gram> {}; struct gram : named_scaled_unit<gram, "g", prefix, ratio<1, 1'000>, kilogram> {};
struct tonne : named_scaled_unit<tonne, "t", prefix, ratio<1'000>, kilogram> {}; struct tonne : named_scaled_unit<tonne, "t", prefix, ratio<1'000>, kilogram> {};
struct dalton : named_scaled_unit<dalton, "Da", no_prefix, ratio<16'605'390'666'050, 10'000'000'000'000, -27>, kilogram> {}; struct dalton : named_scaled_unit<dalton, "Da", no_prefix, ratio<16'605'390'666'050, 10'000'000'000'000, -27>, kilogram> {};