atanh
Computes the inverse hyperbolic tangent of the value x.
The returned value is y such that tanh(y) == x.
Special cases:
tanh(NaN)isNaNtanh(x)isNaNwhenx > 1orx < -1tanh(1.0)is+Inftanh(-1.0)is-Inf
Since Kotlin
1.2
Computes the inverse hyperbolic tangent of the value x.
The returned value is y such that tanh(y) == x.
Special cases:
tanh(NaN) is NaN
tanh(x) is NaN when x > 1 or x < -1
tanh(1.0) is +Inf
tanh(-1.0) is -Inf