Function rp_hal::rom_data::float_to_fix64[][src]

pub fn float_to_fix64() -> extern "C" fn(v: f32, n: i32) -> f32
Convert a float to a signed fixed point 64-bit integer representation where n

specifies the position of the binary point in the resulting fixed point representation - e.g. _float2fix(0.5f, 16) == 0x8000. This method rounds towards -Infinity, and clamps the resulting integer to lie within the range -0x8000000000000000 to 0x7FFFFFFFFFFFFFF