[−][src]Function claxon::subframe::extend_sign_u32
pub fn extend_sign_u32(val: u32, bits: u32) -> i32
Given a signed two's complement integer in the bits
least significant
bits of val
, extends the sign bit to a valid 32-bit signed integer.