cosh

expect fun cosh(x: Double): Double(source)
expect fun cosh(x: Float): Float(source)

Computes the hyperbolic cosine of the value x.

Special cases:

  • cosh(NaN) is NaN

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

Since Kotlin

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

Computes the hyperbolic cosine of the value x.

Special cases:

  • cosh(NaN) is NaN

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

Since Kotlin

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

Computes the hyperbolic cosine of the value x.

Special cases:

  • cosh(NaN) is NaN

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

Since Kotlin

1.2