TAN

Elemental Intrinsic Function (Generic): Produces the tangent of x.

Syntax

result = TAN (x)

x
(Input) 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
TANREAL(4) REAL(4)
DTAN REAL(8) REAL(8)
QTAN 1 REAL(16) REAL(16)
1 VMS and U*X

Examples

TAN (2.0) has the value -2.185040.

TAN (0.8) has the value 1.029639.