js_sys::Math

Function expm1

source
pub fn expm1(x: f64) -> f64
Expand description

The Math.expm1() function returns e^x - 1, where x is the argument, and e the base of the natural logarithms.

MDN documentation