Function js_sys::Math::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