HP 3000 Manuals

DABS (or DABS') [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation


Compiler Library/XL Reference Manual

DABS (or DABS') 

DABS calculates the absolute value of a longreal number.

Declaration 

     FUNCTION DABS(x:LONGREAL):LONGREAL; EXTERNAL;

Attributes 

Parameter:                A longreal number.

Result:                   A longreal number.

HP FORTRAN 77/XL:         Intrinsic function:  Y=DABS(X).

Error:                    If the argument is a NaN, there are two
                          possible actions.  If the INVALID trap is
                          enabled, the message "DABS(X): X=NaN" occurs.
                          Otherwise, the INVALID flag is set.  In either
                          case, a quiet NaN is returned.



MPE/iX 5.0 Documentation