pub fn mask(value: i32, width: u32) -> i16
Mask and sign-interpret an integer to width bits (branchless).
width