cfunction
src/core/math.c on line 286, column 1
(math/floor x)
Returns the largest integer value number that is not greater than
x.
(map math/abs [-2.9 -2.1 2.1 2.9]) # => @[ 2.9 2.1 2.1 2.9 ]
(map math/floor [-2.9 -2.1 2.1 2.9]) # => @[ -3 -3 2 2 ]
(map math/ceil [-2.9 -2.1 2.1 2.9]) # => @[ -2 -2 3 3 ]
(map math/round [-2.9 -2.1 2.1 2.9]) # => @[ -3 -2 2 3 ]
(map math/trunc [-2.9 -2.1 2.1 2.9]) # => @[ -2 -2 2 2 ]
(math/floor 1.1) # => 1
(map math/floor [1.1 1.2 1.3]) # => @[1 1 1]