abs(3I)

ABS, DABS, QABS, IABS, IIABS, JIABS, KIABS, CABS, CQABS, CDABS - Computes absolute value

As shipped in IRIX 6.5.15. Added in IRIX 6.5.5.

NAME
     ABS, DABS, QABS, IABS, IIABS, JIABS, KIABS, CABS, CQABS, CDABS -
     Computes absolute value

SYNOPSIS
     ABS ([A=]a)
     DABS ([A=]a)
     QABS ([A=]a)
     IABS ([A=]a)
     IIABS ([A=]a)
     JIABS ([A=]a)
     KIABS ([A=]a)
     CABS ([A=]a)
     CDABS ([A=]a)
     CQABS ([A=]a)

IMPLEMENTATION
     UNICOS, UNICOS/mk, IRIX systems

     CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77

STANDARDS
     Fortran

     Fortran extensions:  QABS, IIABS, JIABS, KIABS, CQABS, CDABS

DESCRIPTION
     ABS is the generic function name; the others are specifics.  These are
     elemental intrinsic functions.  They accept the following arguments:

     x         Must be a numeric data type (real, complex, or integer) of
               any supported kind type.  See the RETURN VALUES section for
               more information on input data types and return values.

     These functions evaluate as follows:  y = |x|, except for CABS and
     CDABS, which evaluate the following:
                  2     2 1/2
          y = |(x   + x  )   |
                 r     i
NOTES
     The ABS, IABS, DABS, and CABS intrinsic function names can be passed
     as arguments; the others cannot.

     On CRAY T90 systems that support IEEE arithmetic, the following return
     values occur:

     ABS(x):

          |x| = infinity, result is infinity.

          x =  NaN, result is NaN.

     CABS(x):

          x or y = NaN, result is NaN.

          |x| = infinity and y is not NaN, result is infinity.

          |y| = infinity and x is not NaN, result is infinity.

RETURN VALUES
     ABS returns the absolute value of its argument.  The data type of the
     result is the same as the data type of a except that if input argument
     a is type complex, the result is type real.

     DABS returns the double-precision absolute value of its
     double-precision argument.

     QABS returns the quad-precision absolute value of its quad-precision
     argument.

     IABS returns the integer absolute value of its integer argument.

     IIABS returns the integer (KIND=2) absolute value of its integer
     (KIND=2) argument.

     JIABS returns the integer (KIND=4) absolute value of its integer
     (KIND=4) argument.

     KIABS returns the integer (KIND=8) absolute value of its integer
     (KIND=8) argument.

     CABS returns the absolute value of its single-precision complex
     argument as a single-precision real number.

     CDABS returns the absolute value of its complex double-precision
     argument as a double-precision real number.

     CQABS returns the absolute value of its complex quad-precision
     argument as a quad-precision real number.

     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.