Manpage of SIN

Google
Web www.fiveanddime.net

SIN

Section: NEWLIB (3)
Updated: 2005 Feb 23
Index Return to Main Contents
 

NAME

1.26 `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.

 

SEE ALSO

sin is part of the libm library. The full documentation for libm is maintained as a Texinfo manual. If info and libm are properly installed at your site, the command
info libm

will give you access to the complete manual.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURNS
PORTABILITY
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:25:31 GMT, May 16, 2005



www.fiveanddime.net








Google
Web www.fiveanddime.net