Immutable class for holding a rational number without loss of precision.