COTAN

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

Syntax

result = COTAN (x)

x
(Input) Must be of type real; it cannot be zero. 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
COTAN REAL(4) REAL(4)
DCOTAN REAL(8) REAL(8)
QCOTAN 1 REAL(16) REAL(16)
1 VMS and U*X

Examples

COTAN (2.0) has the value -4.576575E-01.

COTAN (0.6) has the value 1.461696.