cosh

inline actual fun cosh(x: Double): Double (source)

Platform and version requirements: Kotlin 1.2

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

Platform and version requirements: Kotlin 1.2

Computes the hyperbolic cosine of the value x.

Special cases:

  • cosh(NaN) is NaN
  • cosh(+Inf|-Inf) is +Inf