tan(), tanf()

tangent function 

Function


SYNOPSIS

#include <math.h>

double tan(double x)

float tanf(float x)


DESCRIPTION

The tan() and tanf() functions compute the tangent of x (measured in radians). A large magnitude argument may yield a result with little or no significance.

The tanf() function is a single-precision version of tan().


PARAMETERS

x 

Is the value whose tangent to be computed.


RETURN VALUES

The tan() function returns the tangent value.


CONFORMANCE

tan(): ANSI/ISO 9899-1990.

tanf(): MKS Toolkit UNIX APIs extension


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

At high levels of compiler optimizations, the hardware handles the tan() function intrinsically. In such cases, mathematical exceptions do not cause the matherr() function to be called or the errno value to be set.


AVAILABILITY

MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
acos(), asin(), atan(), atan2(), cos(), cosh(), math(), sin(), sinh(), tanh()


MKS Toolkit 9.2 Documentation Build 16.