acosh

actual fun acosh(x: Double): Double (source)

Platform and version requirements: Kotlin 1.2

inline actual fun acosh(x: Float): Float (source)

Platform and version requirements: Kotlin 1.2

Computes the inverse hyperbolic cosine of the value x.

The returned value is positive y such that cosh(y) == x.

Special cases:

  • acosh(NaN) is NaN
  • acosh(x) is NaN when x < 1
  • acosh(+Inf) is +Inf