tanh
Computes the hyperbolic tangent of the value x.
Special cases:
tanh(NaN)
isNaN
tanh(+Inf)
is1.0
tanh(-Inf)
is-1.0
Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
Computes the hyperbolic tangent of the value x.
Special cases:
tanh(NaN)
is NaN
tanh(+Inf)
is 1.0
tanh(-Inf)
is -1.0