fractions namespace to provide fraction constants using int64_t as underlying integral integer type.
More...
|
| constexpr const jau::fraction_i64 | days (86 '400l, 1lu) |
| | days is 86400/1
|
| |
| constexpr const jau::fraction_i64 | giga (1 '000 '000 '000l, 1lu) |
| | giga is 10^9
|
| |
| constexpr const jau::fraction_i64 | hours (3 '600l, 1lu) |
| | hours is 3660/1
|
| |
| constexpr const jau::fraction_i64 | kilo (1 '000l, 1lu) |
| | kilo is 10^3
|
| |
| constexpr const jau::fraction_i64 | mega (1 '000 '000l, 1lu) |
| | mega is 10^6
|
| |
| constexpr const jau::fraction_i64 | micro (1l, 1 '000 '000lu) |
| | micro is 10^-6
|
| |
| constexpr const jau::fraction_i64 | milli (1l, 1 '000lu) |
| | milli is 10^-3
|
| |
| constexpr const jau::fraction_i64 | minutes (60l, 1lu) |
| | minutes is 60/1
|
| |
| constexpr const jau::fraction_i64 | nano (1l, 1 '000 '000 '000lu) |
| | nano is 10^-9
|
| |
| constexpr const jau::fraction_i64 | one (1l, 1lu) |
| | one is 10^0 or 1/1
|
| |
| constexpr const jau::fraction_i64 | pico (1l, 1 '000 '000 '000 '000lu) |
| | pico is 10^-12
|
| |
| constexpr const jau::fraction_i64 | seconds (1l, 1lu) |
| | seconds is 1/1
|
| |
| constexpr const jau::fraction_i64 | tera (1 '000 '000 '000 '000l, 1lu) |
| | tera is 10^12
|
| |
| constexpr const jau::fraction_i64 | years (31 '557 '600l, 1lu) |
| | years is 31'557'600/1 using 365.2425 days per year
|
| |
| constexpr const jau::fraction_i64 | zero (0l, 1lu) |
| | zero is 0/1
|
| |
fractions namespace to provide fraction constants using int64_t as underlying integral integer type.