The sin function

Name

sin -- 

Synopsis

#include <math.h>

double sin (double x );

Description

The sin function computes the sine of x (measured in radians).

Returns

The sin function returns the sine value.

Implementation Notes

The absolute error over the range -2*pi to +2*pi is less than 2*DBL_EPSILON.