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