Everything

tan / tanf / tanl


Calculates the tangent of a floating-point radian value.

[Format]

#include <math.h>

double tan (double d);

float tanf (float d);

long double tanl (long double d);

[Parameters]

d Radian value for which tangent is to be computed

[Return values]

Tangent of d

[Remarks]

If the function call is replaced by code that uses a trigonometric function unit, the function might no longer be reentrant. For details, refer to the item about -tfu in the section on compile options.