Skip to main content

to_f32_bits

Function to_f32_bits 

Source
pub fn to_f32_bits(v: i32, scale: f32) -> u32
Expand description

f32 bits of fixed-point v at scale 2^e (exact: |v| < 2^24).