pub fn f32_to_i16(float: f32) -> i16
Expand description
Convert the input floating point value to the output integer type.
If the input value is out of range of the output type, then the result is unspecified. Otherwise, the result is the same as the standard as
conversion.