Crossware

Table of Contents        Previous topic       Next topic       

C LIBRARY FUNCTIONS->Detailed Descriptions->tan() tanl()

Summary

#include <math.h>

    
double tan(double x)Calculate tangent to double precision
long double ltan(long double x)Calculate tangent to long double precision

Parameter
    
xFloating point value of angle in radians

Description

These functions calculate the tangent of x.  If x is not within the range [-2pi..+2pi], it is reduced to within this range before the tangent is calculated.




Return

These functions return the tangent of the parameter passed.