Skip to content
class method

Math.atanh

(::Math::double x) -> ::Float
Math.atanh(x) → float

Returns the inverse hyperbolic tangent of x.

  • Domain: [-1, 1].

  • Range: [-INFINITY, INFINITY].

Examples:

Example
atanh(-1.0) # => -Infinity
atanh(0.0)  # => 0.0
atanh(1.0)  # => Infinity
See also .atan2 .cbrt .atan .cos also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0