js_sys::Math

Function cosh

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

The Math.cosh() function returns the hyperbolic cosine of a number, that can be expressed using the constant e.

MDN documentation