SIN(3) NEWLIB SIN(3)NAME
1.52 `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 argu‐
ment 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.
SEE ALSOsin is part of the library. The full documentation for is maintained
as a Texinfo manual. If info and are properly installed at your site,
the command
info
will give you access to the complete manual.
NEWLIB April 2010 SIN(3)