Function js_sys::Math::expm1[][src]

pub fn expm1(x: f64) -> f64

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

MDN documentation