Description: | Produces the tangent of X. | ||
Class: | Elemental function; Generic | ||
Arguments: | X must be of type real. It must be in radians and is treated as modulo 2 * pi. | ||
Results: | The result type is the same as X. |
Specific Name | Argument Type | Result Type |
---|---|---|
TAN | REAL(4) | REAL(4) |
DTAN | REAL(8) | REAL(8) |
QTAN | REAL(16) | REAL(16) |
Examples
TAN (2.0) has the value -2.185040.
TAN (0.8) has the value 1.029639.