Skip to main content

Ceil

Returns the least integer that is greater than or equal to a given number.

Syntax

ceil(Real)
ceil(Complex)

Description

Given a real number x, returns the least integer that is greater than or equal to xx, usually denoted by x.

arithmetic.ceil1.calc.png

Given a complex number z, returns a complex number with the ceiling function applied to its real and imaginary parts.

arithmetic.ceil2.calc.png