cot(3M)

COT, DCOT - Computes cotangent

Showing IRIX 6.5. First release of IRIX 6.5.

NAME
     COT, DCOT - Computes cotangent

SYNOPSIS
     UNICOS and UNICOS/mk systems:

     COT ([X=]x)

     UNICOS, UNICOS/mk, and IRIX systems:
     DCOT ([X=]x)

IMPLEMENTATION
     UNICOS, UNICOS/mk, and IRIX systems

STANDARDS
     Compiler extension to Fortran 90

DESCRIPTION
     COT is the generic function name.  COT and DCOT are elemental
     functions for the CF90 compiler.

     These functions evaluate y = cot(x).

   CAL Register Usage (Cray Research Systems Only)
     Scalar COT:  COT% (call-by-register)
          on entry   (S1) = argument
          on exit    (S1) = result

     Vector COT:  %COT% (call-by-register)
          on entry   (V1) = argument vector
          on exit    (V1) = result vector


     Scalar DCOT:  DCOT% (call-by-register)
          on entry   (S1) and (S2) = argument
          on exit    (S1) and (S2) = result

     Vector DCOT:  %DCOT% (call-by-register)
          on entry   (V1) and (V2) = argument vector
          on exit    (V1) and (V2) = result vector

   Argument Range
     |x| < 2
                                       25
     On UNICOS/mk systems, |x| < pi * 2

     DCOT:
            45
     |x| < 2

NOTES
     DCOT is an outmoded routine for the CF90 compiler.  Refer to the
     Fortran Language Reference Manual, Volume 3, publication SR-3905, for
     information about outmoded features and their preferred standard
     alternatives.

     The name of this intrinsic can be passed as an argument.

RETURN VALUES
     COT returns the real cotangent of its real argument.

     DCOT returns the double-precision cotangent of its double-precision
     argument.

     On CRAY T90 systems that support IEEE arithmetic, the following return
     values occur:
                                 25
          COT(x) = NaN if |x| > 2   * pi or x = NaN

SEE ALSO
     Intrinsic Procedures Reference Manual, publication SR-2138, for the
     printed version of this man page.