Skip to main content

signed_pow

Function signed_pow 

Source
fn signed_pow(base: I256, exp: I256, width: Option<usize>) -> Option<Num>
Expand description

Folds a signed base ** exp, returning None on a negative exponent or a magnitude that doesn’t fit the signed range (overflow ~ compile error).