pub fn powi_exp_encode(exp: i32) -> u32Available on crate feature
bytecode only.Expand description
Encode a powi exponent as a value that can be stored in arg_indices[1].
This is a bit-preserving reinterpretation (i32 as u32), NOT a numeric
conversion. The round-trip powi_exp_decode_raw(powi_exp_encode(n)) == n
holds for all i32 values including negatives and i32::MIN.