sin

fnreal sin(real x) @safe pure nothrow @nogc

Returns sine of x. x is in radians.

x , sin(x) , invalid?

NaN , NaN , yes ±0.0, ±0.0, no +∞, NaN , yes

Parameters

xangle in radians (not degrees)

Returns

sine of x

See Also

cos , tan , asin 

Bugs

Results are undefined if |x| >= 264.
fndouble sin(double x) @safe pure nothrow @nogc

ditto

fnfloat sin(float x) @safe pure nothrow @nogc

ditto