sin

Common
JVM
JS
Native
1.2
fun sin(x: Double): Double
fun sin(x: Float): Float

Computes the sine of the angle x given in radians.

Special cases:

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