tanh
Computes the hyperbolic tangent of the value x.
Special cases:
tanh(NaN)isNaNtanh(+Inf)is1.0tanh(-Inf)is-1.0
Since Kotlin
1.2
Computes the hyperbolic tangent of the value x.
Special cases:
tanh(NaN) is NaN
tanh(+Inf) is 1.0
tanh(-Inf) is -1.0