Add horsepower, lumen, lux, phot units.
@@ -292,6 +292,8 @@ const COMMON_SI_DERIVED_UNITS: &[UnitTuple] = &[
("J", "", "s@joule", ""),
("watt", "watts", "l@J/s", "power"),
("W", "", "s@watt", ""),
+ ("horsepower", "horsepowers", "l@745.699987158227022 watts", ""),
+ ("hp", "", "s@horsepower", ""),
("coulomb", "", "l@A s", "charge"),
("C", "", "s@coulomb", ""),
("volt", "volts", "l@W/A", "potential difference"),
@@ -311,6 +313,11 @@ const COMMON_SI_DERIVED_UNITS: &[UnitTuple] = &[
("Hz", "", "s@hertz", ""),
("nit", "nits", "l@candela / meter^2", "luminance"),
("nt", "", "nit", ""),
+ ("lumen", "lumens", "l@cd sr", "luminous flux"),
+ ("lm", "", "s@lumen", ""),
+ ("lx", "lux", "l@lm/m^2", "illuminance"),
+ ("phot", "phots", "l@1e4 lx", ""),
+ ("ph", "", "s@phot", ""),
];
const TIME_UNITS: &[UnitTuple] = &[
