Rational.opEquals

Compares two rationals based on their reduced form.

  1. bool opEquals(const(Rational) rhs)
    struct Rational(Z)
    pragma(inline) const
    bool
    opEquals
    (
    const(Rational) rhs
    )
    if (
    __traits(isPOD, Z)
    )
  2. bool opEquals(Z rhs)
  3. bool opEquals(R rhs)