compiler_
builtins
1.89.0-nightly-777d37277-2025-05-17
In compiler_
builtins::
math::
libm_
math::
floor
compiler_builtins
::
math
::
libm_math
::
floor
Function
floor
Copy item path
Source
pub fn floor(x:
f64
) ->
f64
Expand description
Floor (f64)
Finds the nearest integer less than or equal to
x
.