pub fn power(
base: RuntimeValue,
exp: RuntimeValue,
) -> Result<RuntimeValue, String>Expand description
base ** exp — exponentiation. Integer power is EXACT (i64 fast path,
promoting to BigInt on overflow); a Float operand takes the f64::powf
path; a Rational base with an integer exponent stays exact; a NEGATIVE
integer exponent on an integer base is a loud error (an Int can’t hold the
fractional result — use a Float base). ONE definition, shared by tw/VM/JIT.