sin

C/C++ Reference

sin
Syntax:
  #include <cmath>
  double sin( double arg );

The function sin() returns the sine of arg, where arg is given in radians. The return value of sin() will be in the range [-1,1]. If arg is infinite, sin() will return NAN and raise a floating-point exception.

Related topics: