Function rp_hal::rom_data::ufix64_to_float[][src]

pub fn ufix64_to_float() -> extern "C" fn(v: u64, n: i32) -> f32

Convert an unsigned fixed point integer representation to the nearest float value, rounding to even on tie. n specifies the position of the binary point in fixed point, so f = nearest(v/2^n).