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(): PTC 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

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


SEE ALSO

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


PTC MKS Toolkit 10.4 Documentation Build 39.