Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

TAND

Elemental Intrinsic Function (Generic): Produces the tangent of an argument in degrees.

result = TAND (x)

x

(Input) Must be of type real. It must be in degrees and is treated as modulo 360.

Results

The result type and kind are the same as x.

Specific Name

Argument Type

Result Type

TAND

REAL(4)

REAL(4)

DTAND

REAL(8)

REAL(8)

QTAND

REAL(16)

REAL(16)

Example

TAND (2.0) has the value 3.4920771E-02.

TAND (0.8) has the value 1.3963542E-02.