Function rp2040_hal::rom_data::float_funcs::float_to_int

source ·
pub extern "C" fn float_to_int(v: f32) -> i32
Expand description

Converts an f32 to a signed integer, rounding towards -Infinity, and clamping the result to lie within the range -0x80000000 to 0x7FFFFFFF