devela::_dep::js_sys::Math

Function pow

Source
pub fn pow(base: f64, exponent: f64) -> f64 
Available on crate feature dep_js_sys only.
Expand description

The Math.pow() function returns the base to the exponent power, that is, base^exponent.

MDN documentation