tan() and tanf()

Syntax
  #include <math.h>

  
  double tan(double x);

  
  float  tanf(float x);

  
Description

tan() computes the tangent of x. Give x in radians.

Return

tan(x). If x is an odd multiple of Pi/2, it returns infinity and sets errno to EDOM.

See also

acos() and acosf()

asin() and asinf()

atan() and atanf()

atan2() and atan2f()

cosh() and coshf()

sin() and sinf()

tan() and tanf()