pub fn lean_float_to_uint16(a: f64) -> u16