Function rp_hal::rom_data::fix64_to_doubl[][src]

pub fn fix64_to_doubl() -> extern "C" fn(v: i64, n: i32) -> f64

Convert a signed fixed point 64-bit 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))