ceil method

Rational ceil()

Returns the least integer value that is no smaller than this num.

Implementation

Rational ceil() =>
    isInteger ? truncate() : isNegative ? truncate() : (truncate() + _r1);