pub fn to_float(bits: u64, m: u8, n: u8) -> f64
Expand description

Convert bits in the format Qm.n into a real number.

use fixed2float as f2f;
assert_eq!(f2f::to_float(0x13021, 12, 8), 304.12890625);