Intel® Fortran Compiler 18.0 Developer Guide and Reference

COTAN

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

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 and kind are the same as x.

Specific Name

Argument Type

Result Type

COTAN

REAL(4)

REAL(4)

DCOTAN

REAL(8)

REAL(8)

QCOTAN

REAL(16)

REAL(16)

Example

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

COTAN (0.6) has the value 1.461696.