Skip to main content

js_pow

Function js_pow 

Source
pub fn js_pow(base: f64, exponent: f64) -> f64
Expand description

** と Math.pow(Number::exponentiate)。C の pow と違う所だけ先に決める。

【2026-11-12】C の pow は pow(1, NaN) と pow(±1, ±∞) を 1 にするが、JS は NaN。