Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

sin, sinf, sinl - sine function

&pagelevel(4)&pagelevel

Syntax

#include <math.h>

double sin(double x);
C11
float sinf(float x);
long double sinl(long double x); (End)

Description

These functions compute the sine of the floating-point number x, which specifies an angle in radians.

Return val.

sin(x

 if successful. The return value is a floating-point number in the range [-1.0, +1.0].

See also

acos(), asin(), atan(), atan2(), cos(), sinh(), tan(), math.h