Function embassy_rp::rom_data::double_funcs::ufix_to_double
source ยท pub extern "C" fn ufix_to_double(v: u32, n: i32) -> f64
Expand description
Converts an unsigned fixed point integer
representation to the nearest double value, rounding to even on tie. n
specifies the position of the binary point in fixed point, so f =
nearest(v/(2^n))