Rational.opEquals

Casts and compares rational with floating-point type.

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