[−][src]Function rustc_mir::interpret::sign_extend

pub fn sign_extend(value: u128, size: Size) -> u128

Truncates value to size bits and then sign-extend it to 128 bits (i.e., if it is negative, fill with 1's on the left).