sin

fun sin(a: Double): Double

Returns the trigonometric sine of an angle. Special cases:

  • If the argument is NaN or an infinity, then the result is NaN.

  • If the argument is zero, then the result is a zero with the same sign as the argument.

Return

the sine of the argument.

Parameters

a

an angle, in radians.