sin functions


[Syntax]

double sin(double x)

float sinf(float x)

[Description]

These functions calculate the sine of x (measured in radians).

 

[Special case]

Condition

Return value

Exception

x==±∞

NaN

EDOM

Underflow occurred

-

ERANGE