VMS Help
CRTL, tan
*Conan The Librarian
|
Returns a double value that is the tangent of its radian
argument.
Format
#include <math.h>
double tan (double x);
float tanf (float x); (Integrity servers, Alpha)
long double tanl (long double x); (Integrity servers, Alpha)
double tand (double x); (Integrity servers, Alpha)
float tandf (float x); (Integrity servers, Alpha)
long double tandl (long double x); (Integrity servers, Alpha)
x
A radian expressed as a real number.
The tan functions compute the tangent of x, measured in radians.
The tand functions compute the tangent of x, measured in degrees.
x The tangent of the argument.
HUGE_VAL x is a singular point ( . . . -3pi/2, -pi/2,
pi/2 . . . ).
NaN x is NaN; errno is set to EDOM.
0 x is Infinity; errno is set to EDOM.
HUGE_VAL Overflow occurred; errno is set to ERANGE.
0 Underflow occurred; errno is set to ERANGE.