DSUB [ Compiler Library/XL Reference Manual ] MPE/iX 5.0 Documentation
Compiler Library/XL Reference Manual
DSUB
DSUB calculates the difference between two integer numbers.
Declaration
FUNCTION DSUB(VAR d1,d2:INTEGER):INTEGER; EXTERNAL;
Attributes
Parameters: An integer number.
Result: An integer number.
HP FORTRAN 77/XL: Callable as a system intrinsic: I = DSUB(J,K)
Error: If traps are enabled and if the result cannot
be represented by an integer, the arithmetic
trap INTEGER OVERFLOW occurs.
MPE/iX 5.0 Documentation