ceil method

BigInt ceil()

Returns the least BigInt value that is no smaller than this Rational.

Implementation

BigInt ceil() => isInteger
    ? truncate()
    : _isNegative
        ? truncate()
        : (truncate() + _i1);