Compiler Library/XL Reference Manual (32650-90029)
1- 12
Table 1-8. Integer Arithmetic Functions
---------------------------------------------------------------------------------------------
| | |
| Function | Description |
| | |
---------------------------------------------------------------------------------------------
| | |
| DADD | Calculates the sum of two integer numbers. |
| | |
---------------------------------------------------------------------------------------------
| | |
| DCMP | Compares two integer numbers. |
| | |
---------------------------------------------------------------------------------------------
| | |
| DDIV or DDIV' | Calculates the quotient of one integer number divided by |
| | another integer number. |
| | |
---------------------------------------------------------------------------------------------
| | |
| DMPY or DMPY' | Calculates the product of two integer numbers. |
| | |
---------------------------------------------------------------------------------------------
| | |
| DNEG | Negates an integer number. |
| | |
---------------------------------------------------------------------------------------------
| | |
| DREM or DREM' | Calculates the remainder of one integer number divided |
| | by another integer number. |
| | |
---------------------------------------------------------------------------------------------
| | |
| DSUB | Calculates the difference between two integer numbers. |
| | |
---------------------------------------------------------------------------------------------
Table 1-9. Intrinsic Function
---------------------------------------------------------------------------------------------
| | |
| Function | Description |
| | |
---------------------------------------------------------------------------------------------
| | |
| XLIBTRAP | Specifies a user-defined function to process library |
| | errors. |
| | |
---------------------------------------------------------------------------------------------
Table 1-10. Utility Procedures
---------------------------------------------------------------------------------------------
| | |
| Procedure | Description |
| | |
---------------------------------------------------------------------------------------------
| | |
| EXTIN' or HPEXTIN | Converts a byte array of ASCII numeric data to an |
| | internal representation. |
| | |
---------------------------------------------------------------------------------------------
| | |
| INEXT' or HPINEXT | Converts an internal representation of a number to a |
| | byte array for ASCII numeric data. |
| | |
---------------------------------------------------------------------------------------------