pub fn atanh(x: f64) -> f64
The Math.atanh() function returns the hyperbolic arctangent of a number, that is ∀x ∊ (-1,1), Math.atanh(x) = arctanh(x) = the unique y such that tanh(y) = x
Math.atanh()
MDN documentation