Skip to main content

floor

Function floor 

Source
pub fn floor(x: f64) -> f64
Expand description

x.floor() without the libm call baseline x86-64 (no SSE4.1) turns f64::floor into. Matches f64::floor exactly for every input, signed zeros, infinities and NaN included.