tan functions


[Syntax]

double tan(double x)

float tanf(float x)

long double tanl(long double x) [V2.01.00 or later]

[Description]

These functions calculate the tangent of x (measured in radians).

 

[Special case]

Condition

Return value

Exception

x==±∞

NaN

EDOM

Underflow occurred

-

ERANGE