SIN(3) Linux Programmer's Manual SIN(3)

sin, sinf, sinl - sine function

#include <math.h>

double sin(double x);

float sinf(float x);

long double sinl(long double x);

Link with -lm.

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

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

SVr4, 4.3BSD, C89. The float and long double variants are C99 requirements.

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

This page is part of release 2.75 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/.

2002-07-27

Different Versions of this Page: