Table of Contents

Name

tan, tanf, tanl - tangent function

Synopsis


#include <math.h>
double tan(double x);
float tanf(float x);
long double tanl(long double x);

Description

The tan() function returns the tangent of x, where x is given in radians.

Conforming to

SVID 3, POSIX, BSD 4.3, ISO 9899. The float and the long double variants are C99 requirements.

See Also

acos(3) , asin(3) , atan(3) , atan2(3) , cos(3) , sin(3)


Table of Contents