tan

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

Platform and version requirements: Kotlin 1.2

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

Platform and version requirements: Kotlin 1.2

Computes the tangent of the angle x given in radians.

Special cases:

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