#include <math.h>
double tan(double x);
float tanf(float x);
tan() computes the tangent of x. Express x in radians.
tan(x). If x is an odd multiple of Pi/2, it returns infinity and sets errno to EDOM.
acos() and acosf(),
asin() and asinf(),
atan() and atanf(),
atan2() and atan2f(),
cosh() and coshf(),
sin() and sinf(), and
tan() and tanf()