Rounds x down to a multiple of 1/16: floor(16 * x) / 16. Only float64.
assert(reduc(cast(float64) 1.99) == 1.9375 && reduc(cast(float64) -0.01) == -0.0625);reduc :: (x: float64) -> float64
Rounds x down to a multiple of 1/16.
Parameters
- x: float64
- the value.
Returns
- float64