libm.info: sin

Go forward to sinh
Go backward to scalbn
Go up to Math
Go to the top op libm

`sin', `sinf', `cos', `cosf'--sine or cosine

*Synopsis*
     #include <math.h>
     double sin(double X);
     float  sinf(float X);
     double cos(double X);
     float cosf(float X);
   *Description*
`sin' and `cos' compute (respectively) the sine and cosine of the
argument X.  Angles are specified in radians.
   `sinf' and `cosf' are identical, save that they take and return
`float' values.
*Returns*
The sine or cosine of X is returned.
*Portability*
`sin' and `cos' are ANSI C.  `sinf' and `cosf' are extensions.