Checks whether this rational number is greater than the other.
bool operator >(Rational other) => toDouble() > other.toDouble();