Decimal unit prefices in the metric system for denoting a multiple, or a fraction of, a unit. More...
Variables | |
constexpr auto | playrho::Centi = Real(1e-2) |
Centi- (1 x 10^-2). More... | |
constexpr auto | playrho::Deci = Real(1e-1) |
Deci- (1 x 10^-1). More... | |
constexpr auto | playrho::Kilo = Real(1e3) |
Kilo- (1 x 10^3). More... | |
constexpr auto | playrho::Mega = Real(1e6) |
Mega- (1 x 10^6). More... | |
constexpr auto | playrho::Giga = Real(1e9) |
Giga- (1 x 10^9). More... | |
constexpr auto | playrho::Tera = Real(1e12) |
Tera- (1 x 10^12). More... | |
constexpr auto | playrho::Peta = Real(1e15) |
Peta- (1 x 10^15). More... | |
constexpr auto | playrho::Yotta = Real(1e24) |
Yotta- (1 x 10^24). More... | |
Decimal unit prefices in the metric system for denoting a multiple, or a fraction of, a unit.
std::ratio
doesn't necessarily support larger sizes like Yotta or bigger so floating-point literal notation is used instead.
|
constexpr |
Centi- (1 x 10^-2).
Referenced by playrho::operator""_cm().
|
constexpr |
Deci- (1 x 10^-1).
Referenced by playrho::operator""_dm().
|
constexpr |
Giga- (1 x 10^9).
Referenced by playrho::operator""_Gm().
|
constexpr |
Kilo- (1 x 10^3).
Referenced by playrho::operator""_g(), playrho::operator""_km(), playrho::operator""_kps(), playrho::operator""_Pg(), and playrho::operator""_Yg().
|
constexpr |
Mega- (1 x 10^6).
Referenced by playrho::operator""_Mm().
|
constexpr |
Peta- (1 x 10^15).
Referenced by playrho::operator""_Pg().
|
constexpr |
Tera- (1 x 10^12).
|
constexpr |
Yotta- (1 x 10^24).
Referenced by playrho::operator""_Yg().