Whether this Rat is an integer.
bool get isInteger { return d == BigInt.one || n.remainder(d) == BigInt.zero; }