operator unary- method

BigRational operator unary-()

Negates this BigRational and returns the result.

Implementation

BigRational operator -() {
  return BigRational._(-numerator, denominator);
}