sin(3I)

SIN, DSIN, QSIN, CSIN, CDSIN, CQSIN, SIND, DSIND, QSIND - Computes sine

As shipped in IRIX 6.5.7. Added in IRIX 6.5.5.

NAME
     SIN, DSIN, QSIN, CSIN, CDSIN, CQSIN, SIND, DSIND, QSIND - Computes
     sine

SYNOPSIS
     SIN ([X=]x)
     DSIN ([X=]x)
     QSIN ([X=]x)
     CSIN ([X=]x)
     CDSIN ([X=]x)
     CQSIN ([X=]x)

     SIND ([X=]x)
     DSIND ([X=]x)
     QSIND ([X=]x)

IMPLEMENTATION
     UNICOS, UNICOS/mk, IRIX systems

     CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77

STANDARDS
     Fortran

     Fortran extensions:  QSIN, CDSIN, CQSIN, SIND, DSIND, QSIND

DESCRIPTION
     These functions evaluate y = sin(x).

     SIN and SIND 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 or complex.  For SIN, DSIN, QSIN, CSIN,
               CDSIN, and CQSIN, x must be specified in radians and is
               treated as modulo 2 * pi.  For SIND, DSIND, and QSIND, x
               must be specified in degrees and is treated as modulo 360.

     Vector versions of these intrinsics exist on some systems.  Vector
     versions of the SIN, DSIN, CSIN, and CDSIN intrinsics exist on UNICOS
     and UNICOS/mk systems.  On UNICOS/mk systems, the vector versions of
     these intrinsics are used when -O vector3 or -O3 are specified on the
     compiler command line.  A vector version of the single-precision and
     double-precision SIN intrinsic exists on IRIX systems and is used when
     -O3 is specified on the compiler command line.

NOTES
     The SIN, DSIN, and CSIN 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
       SIN(x) = NaN if |x| > 2

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

     On IRIX systems, the following return value occurs:
                                 19
          SIN(x) = NaN if |x| > 2

     On all systems that support the IEEE standard for floating-point
     arithmetic, the following is true:

          SIN(NaN) = NaN

RETURN VALUES
     SIN returns the real sine of its real arguments.

     DSIN returns the double-precision real sine of its double-precision
     real argument.

     QSIN return the quad-precision real sine of its quad-precision real
     argument.

     CSIN returns the complex sine of its complex argument.

     CDSIN returns the double-precision complex sine of its
     double-precision complex argument.

     CQSIN returns the quad-precision complex sine of its quad-precision
     complex argument.

     SIND returns the single-precision real sine of its single-precision
     real argument.

     DSIND returns the double-precision real sine of its double-precision
     real argument.

     QSIND returns the quad-precision real sine of its quad-precision real
     argument.

     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.