sin

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

Platform and version requirements: Kotlin 1.2

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

Platform and version requirements: Kotlin 1.2

Computes the sine of the angle x given in radians.

Special cases:

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