fceiling - part-cw/lambdanative GitHub Wiki
(fceiling x y)
fceiling returns the ceiling relative to multiples of a float (complements fmodulo
): fceiling = ffloor + y.
Parameter | Description |
---|---|
x | Dividend value |
y | Divisor value |
Example
Example 1: Demonstration of fmodulo, fceiling and ffloor
> (fmodulo 33 2.5)
.4999999999999982
> (fceiling 33 2.5)
35.
> (ffloor 33 2.5)
32.5