sin

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

Computes the sine of the angle x given in radians.

Special cases:

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

Since Kotlin

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

Computes the sine of the angle x given in radians.

Special cases:

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

Since Kotlin

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

Computes the sine of the angle x given in radians.

Special cases:

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

Since Kotlin

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

Computes the sine of the angle x given in radians.

Special cases:

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

Since Kotlin

1.3