tan(3M)
NAME
tan − tangent function
SYNOPSIS
cc [ flag ... ] file ... −lm [ library ... ]
#include <math.h>
double tan(double x);
DESCRIPTION
The tan() function computes the tangent of its argument x, measured in radians.
RETURN VALUES
Upon successful completion, tan() returns the tangent of x.
If x is NaN or ±Inf, NaN is returned.
ERRORS
No errors will occur.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| MT-Level | MT-Safe |
SEE ALSO
atan(3M), isnan(3M), attributes(5)
SunOS 5.6 — Last change: 29 Dec 1996