Skip to main content

NEG_INT

Constant NEG_INT 

Source
pub const NEG_INT: u8 = 0x1E;
Expand description

Typed unary - on an Int operand. Pops one value, decodes via as_int (inline), negates with wrapping_neg, re-boxes through NanValue::new_int. Skips the is_int / is_float branch in NEG. Emitted when inner.ty() resolves to Type::Int.