atanh
Computes the inverse hyperbolic tangent of the value x.
The returned value is y
such that tanh(y) == x
.
Special cases:
tanh(NaN)
isNaN
tanh(x)
isNaN
whenx > 1
orx < -1
tanh(1.0)
is+Inf
tanh(-1.0)
is-Inf
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
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