Checks whether this fraction is smaller than the other.
bool operator <(Fraction other) => toDouble() < other.toDouble();