ceiling ( x -- y )
Factor handbook > The language > Numbers > Mathematical functions > Arithmetic functions

Prev:sgn ( x -- n )
Next:floor ( x -- y )


Vocabulary
math.functions

Inputs and outputs
xa real
ya whole real number


Word description
Outputs the least whole number greater than or equal to x.

Notes
The result is not necessarily an integer.

Definition