Function to_float_str

Source
pub fn to_float_str(bits: &str, m: i32, b: i32) -> Result<f64, String>
👎Deprecated since 0.4.0
Expand description

Compute the real value represented by bits (str).

use fixed2float::to_float_str;
assert_eq!(to_float_str("00010011000000100001", 12, 20), Ok(304.12890625));