mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 12:54:25 +02:00
Base unit for SI mass fixed
This commit is contained in:
@@ -28,8 +28,8 @@
|
||||
|
||||
namespace units::si {
|
||||
|
||||
struct gram : named_unit<gram, "g", prefix> {};
|
||||
struct kilogram : prefixed_unit<kilogram, kilo, gram> {};
|
||||
struct kilogram : named_unit<kilogram, "kg", no_prefix> {};
|
||||
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 dalton : named_scaled_unit<dalton, "Da", no_prefix, ratio<16'605'390'666'050, 10'000'000'000'000, -27>, kilogram> {};
|
||||
|
Reference in New Issue
Block a user