kotlin-stdlib / kotlin.math / sin sin Common JVM JS Native 1.2 fun sin ( x : Double ) : Double (Common source) (JVM source) (JS source) (Native source) fun sin ( x : Float ) : Float (Common source) (JVM source) (JS source) (Native source) Computes the sine of the angle x given in radians. Special cases: sin(NaN|+Inf|-Inf) is NaN