Skip to main content

mask

Function mask 

Source
pub fn mask(value: i32, width: u32) -> i16
Expand description

Mask and sign-interpret an integer to width bits (branchless).