pub fn f32_to_q1_15(value: f32) -> Result<u16, NumberOutOfRange>
convert float point to fixed point format