js_sys::Math

Function acosh

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

The Math.acosh() function returns the hyperbolic arc-cosine of a number, that is ∀x ≥ 1 Math.acosh(x) = arcosh(x) = the unique y ≥ 0 such that cosh(y) = x

MDN documentation