cos(3I)

COS, DCOS, QCOS, CCOS, CDCOS, CQCOS, COSD, DCOSD, QCOSD - Computes cosine

As shipped in IRIX 6.5.30. Last changed in IRIX 6.5.19.

NAME
     COS, DCOS, QCOS, CCOS, CDCOS, CQCOS, COSD, DCOSD, QCOSD - Computes
     cosine

SYNOPSIS
     COS ([X=]x)
     DCOS ([X=]x)
     QCOS ([X=]x)
     CCOS ([X=]x)
     CDCOS ([X=]x)
     CQCOS ([X=]x)

     COSD ([X=]x)
     DCOSD ([X=]x)
     QCOSD ([X=]x)

STANDARDS
     Fortran

     Fortran extensions:  QCOS, CDCOS, CQCOS, COSD, DCOSD, QCOSD

DESCRIPTION
     These functions evaluate y = cos(x).

     COS and COSD are the generic function names; the others are specifics.
     These are elemental intrinsic functions.  They accept the following
     argument:

     x         Must be of type real.  For COS, DCOS, QCOS, CCOS, CDCOS, and
               CQCOS, the argument must be in radians.  It is treated as
               (modulo 2 * pi).  For COSD, DCOSD, and QCOSD, the argument
               must be in degrees and is treated as modulo 360.

               See the RETURN VALUES section for more information on input
               data types and return values.

     A vector version of the single-precision and double-precision COS
     intrinsic exists on IRIX systems and is used when -O3 is specified on
     the compiler command line.

NOTES
     The COS, DCOS, CCOS intrinsic function names can be passed as
     arguments; the others cannot.

     COS(x) yields NaN if |x| > pi * 219.

     On all systems that support the IEEE standard for floating-point
     arithmetic, COS(x) yields NaN if x = NaN.

RETURN VALUES
     COS and COSD return the single-precision cosine of their
     single-precision arguments.

     DCOS and DCOSD return the double-precision cosine of their
     double-precision arguments.

     QCOS and QCOSD return the quad-precision cosine of their
     quad-precision arguments.

     CCOS returns the complex cosine of its complex argument.

     CDCOS returns the complex double-precision cosine of its complex
     double-precision argument.

     CQCOS returns the complex quad-precision cosine of its complex
     quad-precision argument.

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