nstd_math_floor_f32

Function nstd_math_floor_f32 

Source
#[unsafe(no_mangle)]
pub extern "C" fn nstd_math_floor_f32(x: NSTDFloat32) -> NSTDFloat32
Available on crate feature math only.
Expand description

Rounds the value x down to the closest integral value.

§Parameters:

  • NSTDFloat32 x - The value.

§Returns

NSTDFloat32 value - The value rounded down to the nearest integral value.