Skip to main content

float_to_fixed_to_float

Function float_to_fixed_to_float 

Source
pub fn float_to_fixed_to_float(value: f64, precision_bits: u32) -> f64
Expand description

Rounds a float to the nearest value representable in fixed point (floatToFixedToFloat).