Compiler Library/XL Reference Manual (32650-90029)
1- 7
Table 1-2. Absolute Value Functions
---------------------------------------------------------------------------------------------
| | |
| Function | Description |
| | |
---------------------------------------------------------------------------------------------
| | |
| CABS or CABS' | Calculates the absolute value of a complex number. |
| | |
---------------------------------------------------------------------------------------------
| | |
| DABS or DABS' | Calculates the absolute value of a longreal number. |
| | |
---------------------------------------------------------------------------------------------
| | |
| DSIGN or DSIGN' | Calculates the absolute value of one longreal number and |
| | gives it the sign of a second longreal number. |
| | |
---------------------------------------------------------------------------------------------
| | |
| ISIGN or ISIGN' | Calculates the absolute value of a shortint number and |
| | gives it the sign of a second shortint number. |
| | |
---------------------------------------------------------------------------------------------
| | |
| JSIGN or JSIGN' | Calculates the absolute value of one integer number and |
| | gives it the sign of a second integer number. |
| | |
---------------------------------------------------------------------------------------------
| | |
| SIGN or SIGN' | Calculates the absolute value of one real number and |
| | gives it the sign of a second real number. |
| | |
---------------------------------------------------------------------------------------------