![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
A helper for multiplication to enforce the type requirement in [ratio.general] and improve readability. More...
Public Types | |
| using | type = ratio<(R1::num / gcd_12) * (R2::num / gcd_21), (R1::den / gcd_21) * (R2::den / gcd_12)> |
| The result of the multiplication. | |
A helper for multiplication to enforce the type requirement in [ratio.general] and improve readability.
| R1 | The first of two ratios to be multiplied |
| R2 | The second of two ratios to be multiplied |
| using std::ratio_detail::ratio_multiply_impl< R1, R2 >::type = ratio<(R1::num / gcd_12) * (R2::num / gcd_21), (R1::den / gcd_21) * (R2::den / gcd_12)> |
The result of the multiplication.