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