tan

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

Computes the tangent of the angle x given in radians.

Special cases:

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

Since Kotlin

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

Computes the tangent of the angle x given in radians.

Special cases:

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

Since Kotlin

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

Computes the tangent of the angle x given in radians.

Special cases:

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

Since Kotlin

1.2
actual external fun tan(x: Double): Double(source)
actual external fun tan(x: Float): Float(source)

Computes the tangent of the angle x given in radians.

Special cases:

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

Since Kotlin

1.3
actual fun tan(x: Double): Double(source)
actual fun tan(x: Float): Float(source)

Computes the tangent of the angle x given in radians.

Special cases:

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

Since Kotlin

1.8
actual fun tan(x: Double): Double(source)
actual fun tan(x: Float): Float(source)

Computes the tangent of the angle x given in radians.

Special cases:

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

Since Kotlin

1.8