operator > method

bool operator >(
  1. BigRational other
)

Checks if this BigRational is greater than the given BigRational.

other The BigRational to compare with. returns true if this BigRational is greater than the given BigRational; otherwise, false.

Implementation

bool operator >(BigRational other) {
  return compareTo(other) > 0;
}