cos() and cosf()

Syntax
   #include <time.h>

  
  double cos(double x);

  
  float  cosf(float x);

  
Description

cos() computes the principal value of the cosine of x. Express x in radians.

Return

The cosine cos(x)

See also

acos() and acosf(),

asin() and asinf(),

atan() and atanf(),

atan2() and atan2f(),

sin() and sinf(), and

tan() and tanf()