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

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


Vocabulary
math.functions

Inputs
xa real


Outputs
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