
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ v10.0 : C library - <b>synopsis:</b>
[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Synopsis:
#include <math.h>
double sin( double x );
Description:
The sin function computes the sine of x (measured in radians). A large
magnitude argument may yield a result with little or no significance.
Returns:
The sin function returns the sine value.
See Also:
acos, asin, atan, atan2, cos, tan
Example:
#include <stdio.h>
#include <math.h>
void main()
{
printf( "%f\n", sin(.5) );
}
produces the following:
0.479426
Classification:
ANSI
Systems:
All
Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson