⌈) is a monadic scalar function that gives the ceiling of a real number, that is, the least integer tolerantly greater than or equal to the given value. This operation is also known as round up. Ceiling shares the glyph
⌈ with the dyadic arithmetic function Maximum. Traditional mathematics derives its notation and name for ceiling from APL.
Ceiling rounds up the given numbers to the nearest integers.
⌈2 2.8 ¯2 ¯2.8 2 3 ¯2 ¯2
The ceiling of any real number is an integer.
⎕PP←16 ⎕←v←1+0.6×⎕CT×0 1 2 1 1.000000000000006 1.000000000000012 ⌈v 1 1 2
v←2 2.8 ¯2 ¯2.8 (⌈v)≡-⌊-v 1
v←1.8J2.5 2.5J2.2 1.7J2.2 ⌈v 2J3 3J2 2J2 (⌈v)≡-⌊-v 1