TAN

Section: Linux Programmer's Manual (3)
Updated: 2002-07-27
Index Return to Main 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);

Link with -lm.  

DESCRIPTION

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

CONFORMING TO

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

SEE ALSO

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
CONFORMING TO
SEE ALSO

linux.jgfs.net manual pages