sin

C++ Reference

sin
Syntax:
  #include <math.h>
  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: