js_sys::Math

Function exp

Source
pub fn exp(x: f64) -> f64
Expand description

The Math.exp() function returns e^x, where x is the argument, and e is Euler’s number (also known as Napier’s constant), the base of the natural logarithms.

MDN documentation