HP 3000 Manuals

DADD [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation


Compiler Library/XL Reference Manual

DADD 

DADD calculates the sum of two integer numbers.

Declaration 

        FUNCTION DADD(VAR d1,d2:INTEGER):INTEGER; EXTERNAL;

Attributes 

Parameters:               Both arguments are integer numbers.

Result:                   An integer number.

HP FORTRAN 77/XL:         Callable as a system intrinsic:  I=DADD(J,K)

Error:                    If the result cannot be represented by an
                          integer number, an arithmetic trap INTEGER
                          OVERFLOW occurs if traps are enabled.



MPE/iX 5.0 Documentation