Developer Guide and Reference

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

COTAND

Elemental Intrinsic Function (Generic): Produces the cotangent of x in degrees.

result = COTAND (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

COTAND

REAL(4)

REAL(4)

DCOTAND

REAL(8)

REAL(8)

QCOTAND

REAL(16)

REAL(16)

Example

COTAND (2.0) has the value 0.2863625E+02.

COTAND (0.6) has the value 0.9548947E+02.