pub fn to_float(bits: i64, size: i32, m: i32, n: i32) -> Result<f64, String>
Compute the real value represented by bits (unsigned) in the form Qm.n.
bits
use fixed2float::to_float; assert_eq!(to_float(0x13021, 20, 12, 8), Ok(304.12890625));