Skip to main content

nerd_pow

Function nerd_pow 

Source
pub fn nerd_pow(a: &Value, b: &Value) -> DogeResult
Expand description

nerd.pow(base, exponent) — the same rule as the ** operator: Int^Int (a non-negative exponent) stays an arbitrary-precision Int, Decimal^Int an exact Decimal, and any other numeric mix returns a Float.