Syntax
double tan(
    double rad
);
ContentsIndex
PreviousUpNext
tan
Syntax
double tan(
    double rad
);
Description

Calculates the tangent of an angle (in radians). The result will be between negative infinity and infinity.

Parameters
Parameters 
Description 
double rad 
the angle in radians (float)  
Returns

The tangent of the angle (double)

File

math.h

Group