devela::_dep::js_sys::Math

Function expm1

Source
pub fn expm1(x: f64) -> f64 
Available on crate feature dep_js_sys only.
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