TAN(3) Linux Programmer's Manual TAN(3)

tan, tanf, tanl - tangent function

#include <math.h>

double tan(double x);

float tanf(float x);

long double tanl(long double x);

Link with -lm.

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

SVr4, 4.3BSD, C89. The float and long double variants are C99 requirements.

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

This page is part of release 3.02 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/.

2002-07-27

Different Versions of this Page: