|
libstdc++
|
Files | |
| file | ratio |
Classes | |
| struct | std::ratio< _Num, _Den > |
| struct | std::ratio_equal< _R1, _R2 > |
| struct | std::ratio_greater< _R1, _R2 > |
| struct | std::ratio_greater_equal< _R1, _R2 > |
| struct | std::ratio_less< _R1, _R2 > |
| struct | std::ratio_less_equal< _R1, _R2 > |
| struct | std::ratio_not_equal< _R1, _R2 > |
Typedefs | |
| typedef ratio< 1, 1000000000000000000 > | std::atto |
| typedef ratio< 1, 100 > | std::centi |
| typedef ratio< 10, 1 > | std::deca |
| typedef ratio< 1, 10 > | std::deci |
| typedef ratio< 1000000000000000000, 1 > | std::exa |
| typedef ratio< 1, 1000000000000000 > | std::femto |
| typedef ratio< 1000000000, 1 > | std::giga |
| typedef ratio< 100, 1 > | std::hecto |
| typedef ratio< 1000, 1 > | std::kilo |
| typedef ratio< 1000000, 1 > | std::mega |
| typedef ratio< 1, 1000000 > | std::micro |
| typedef ratio< 1, 1000 > | std::milli |
| typedef ratio< 1, 1000000000 > | std::nano |
| typedef ratio< 1000000000000000, 1 > | std::peta |
| typedef ratio< 1, 1000000000000 > | std::pico |
| template<typename _R1, typename _R2> | |
| using | std::ratio_add |
| template<typename _R1, typename _R2> | |
| using | std::ratio_divide |
| template<typename _R1, typename _R2> | |
| using | std::ratio_multiply |
| template<typename _R1, typename _R2> | |
| using | std::ratio_subtract |
| typedef ratio< 1000000000000, 1 > | std::tera |
Variables | |
| template<typename _R1, typename _R2> | |
| constexpr bool | std::ratio_equal_v |
| template<typename _R1, typename _R2> | |
| constexpr bool | std::ratio_greater_equal_v |
| template<typename _R1, typename _R2> | |
| constexpr bool | std::ratio_greater_v |
| template<typename _R1, typename _R2> | |
| constexpr bool | std::ratio_less_equal_v |
| template<typename _R1, typename _R2> | |
| constexpr bool | std::ratio_less_v |
| template<typename _R1, typename _R2> | |
| constexpr bool | std::ratio_not_equal_v |
Compile time representation of finite rational numbers.
| using std::ratio_add |
| using std::ratio_divide |
| using std::ratio_multiply |
| using std::ratio_subtract |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |