Intel® Fortran Compiler

Developer Guide and Reference

ID 767251
Date 12/12/2025
Public
Document Table of Contents

COTANPI

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

result = COTANPI (x)

x

(Input) Must be of type real. It must be in half revolutions and is treated as modulo 2.

Results

The result type and kind are the same as x. The value is approximately the same as COTAN (X x π).

There are no specific names for this function.

Example

COTANPI (0.6366) has the approximate value -4.576575E-01.