abs(3I)
ABS, DABS, QABS, IABS, IIABS, JIABS, KIABS, CABS, CQABS, CDABS - Computes absolute value
As shipped in IRIX 6.5.22. Last changed in IRIX 6.5.19.
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) 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: y = |(xr2 + xi2)1/2| NOTES The ABS, IABS, DABS, and CABS intrinsic function names can be passed as arguments; the others cannot. 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 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.