Table of Contents

Name

sin, sinf, sinl - sine function

Synopsis


#include <math.h>
double sin(double x);
float sinf(float x);
long double sinl(long double x);

Description

The sin() function returns the sine of x, where x is given in radians.

Return Value

The sin() function returns a value between -1 and 1.

Conforming to

SVID 3, POSIX, BSD 4.3, ISO 9899. The float and the long double variants are C99 requirements.

See Also

acos(3) , asin(3) , atan(3) , atan2(3) , cos(3) , tan(3)


Table of Contents