Ensure numberToRangedRational returns Nothing immediately if the exponent is outside Int range, so that we avoid an integer overflow later.