sdiv_into_u32

Function sdiv_into_u32 

Source
pub const fn sdiv_into_u32<const B: u32, const ARG: u32>(v: f32) -> u32
Expand description

Saturates the raw count to [-2^(B-1), 2^(B-1) - 1], then masks to B bits so the two’s-complement pattern fits the field.