Rational.Rational

Undocumented in source.
  1. alias Rational = Rational!(n / cast(int)gcd_, d / gcd_)
  2. struct Rational
    template Rational(int n, uint d = 1u)
    @safe
    static if(!(gcd_ > 1))
    struct Rational {}

Members

Variables

denominator
enum uint denominator;
Undocumented in source.
numerator
enum int numerator;
Undocumented in source.
value
enum double value;
Undocumented in source.

Meta