#include <BasicMath.hpp>
|
static constexpr intmax_t | num = sign( Numerator ) * sign( Denumerator ) * abs( Numerator ) / gcd( Numerator, Denumerator ) |
|
static constexpr intmax_t | den = abs( Denumerator ) / gcd( Numerator, Denumerator ) |
|
template<intmax_t Numerator, intmax_t Denumerator = 1>
template<intmax_t Numerator, intmax_t Denumerator = 1>
constexpr intmax_t Math::Ratio< Numerator, Denumerator >::den = abs( Denumerator ) / gcd( Numerator, Denumerator ) |
|
static |
template<intmax_t Numerator, intmax_t Denumerator = 1>
constexpr intmax_t Math::Ratio< Numerator, Denumerator >::num = sign( Numerator ) * sign( Denumerator ) * abs( Numerator ) / gcd( Numerator, Denumerator ) |
|
static |
The documentation for this struct was generated from the following file: