cot(3I)

COT, COTAN, DCOT, DCOTAN, QCOT, CQCOTAN - Computes cotangent

As shipped in IRIX 6.5.15. Added in IRIX 6.5.5.

NAME
     COT, COTAN, DCOT, DCOTAN, QCOT, CQCOTAN - Computes cotangent

SYNOPSIS
     COT ([X=]x)
     COTAN ([X=]x)
     DCOT ([X=]x)
     DCOTAN ([X=]x)
     QCOT ([X=]x)
     QCOTAN ([X=]x)

IMPLEMENTATION
     UNICOS, UNICOS/mk, IRIX systems

     CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77

STANDARDS
     Fortran extensions

DESCRIPTION
     COT is the generic function name; the others are specifics.  They are
     elemental intrinsic functions.  They accept the following argument:

     x         Must be of type real.  The type and kind type of x is
               identical to the type and kind type of the return value.
               See the RETURN VALUES section for more information on input
               data types and return values.

     These functions evaluate y = cot(x).

NOTES
     The COT and DCOT intrinsic function names can be passed as arguments;
     the others cannot.

     On UNICOS and UNICOS/mk systems, the following return values occur:

     * On systems that support the IEEE standard for floating-point
       arithmetic,                 25
       COT(x) = NaN if |x| > pi * 2   or if x = NaN

     * On systems that do not support the IEEE standard for floating-point
       arithmetic,               25
       COT(x) = 0 if |x| > pi * 2   or if x = 0

     On IRIX systems, the following return value occurs:

                                      19
          COT(x) = NaN if |x| > pi * 2   or if x = NaN

RETURN VALUES
     COT and COTAN return the single-precision real cotangent of their
     single-precision real arguments.

     DCOT and DCOTAN return the double-precision real cotangent of their
     double-precision real arguments.

     QCOT and QCOTAN return the quad-precision real cotangent of their
     quad-precision real arguments.

     The data type and kind type for single-precision, double-precision,
     and quad-precision values differ depending on your platform.  For
     platform-specific information, see the TERMINOLOGY section of the
     INTRO_INTRIN(3I) man page.

SEE ALSO
     Intrinsic Procedures Reference Manual for the printed version of this
     man page.