Crossware

Table of Contents        Previous topic       Next topic       

COMPILER LIBRARY FUNCTIONS->Detailed Descriptions->sin() sinl()

Summary

#include <math.h>
    
double sin(double x)Calculate sine to double precision
long double sinl(long double x);Calculate sine to long double precision

Parameter
    
xAngle in radians
Description

These functions calculate the sine of x.  If x is not within the range [-2pi..+2pi], it is reduced to within this range before the sine is calculated.




Return

These functions return the sine of the parameter passed.