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
actual external fun cosh(x: Double): Double(source)
actual external 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.3
actual fun cosh(x: Double): Double(source)
actual 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.8
actual fun cosh(x: Double): Double(source)
actual 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.8