ceiling ( x -- y ) (original) (raw)
ceiling ( x -- y )
Factor handbook » The language » Numbers » Mathematical functions » Arithmetic functions
Prev: | sgn ( x -- n ) |
---|---|
Next: | floor ( x -- y ) |
Inputs
x | a real |
---|
Outputs
y | a 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