HP 3000 Manuals

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


Compiler Library/XL Reference Manual

DMPY (or DMPY') 

DMPY calculates the product of two integer numbers.

Declaration 

        FUNCTION DMPY(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 = DMPY(J,K)

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



MPE/iX 5.0 Documentation