Element-wise floor (round toward negative infinity). You can also use floor().
Arguments
- x
(
arrayish)
One input. Can be any numeric data type: a float is rounded and keeps its own, and an integer one is already whole and is returned unchanged. An R value materializes at its default data type and is treated in the same way.
Value
(arrayish)
Has the input's shape and data type.
See also
prim_floor() for the underlying primitive.