pub fn sign_extend_leq16_to_i16(value: u16, width: u32) -> i16
Expand description

Sign extends an arbitrary, 16-bit or less, signed two’s complement integer stored within an u16 to a full width i16.