Returns the sine of its radian argument. Format #include <math.h> double sin (double x); float sinf (float x); (Integrity servers, Alpha) long double sinl (long double x); (Integrity servers, Alpha) double sind (double x); (Integrity servers, Alpha) float sindf (float x); (Integrity servers, Alpha) long double sindl (long double x); (Integrity servers, Alpha)
1 – Argument
x A radian expressed as a floating-point number.
2 – Description
The sin functions compute the sine of x measured in radians. The sind functions compute the sine of x measured in degrees.
3 – Return Values
x The sine of the argument. NaN x = Infinity or NaN; errno is set to EDOM. 0 Underflow occurred; errno is set to ERANGE.