Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 9/08/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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.