Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

Integer manipulation built-in functions

The integer manipulation built-in functions perform operations on integer variables and return the result of the operation.

Table 54. Integer manipulation built-in functions
Function Description
IAND Calculates the bitwise "and" of 2 or more fixed binary values
IEOR Calculates the bitwise "exclusive-or" of 2 fixed binary values
INOT Calculates the bitwise "not" of a fixed binary value
IOR Calculates the bitwise "or" of 2 or more fixed binary values
ISIGNED Casts an integer to a signed integer without changing its bit pattern
ISLL Shifts a fixed binary value "logically" to the left
ISRL Shifts a fixed binary value "logically" to the right
IUNSIGNED Casts an integer to an unsigned integer without changing its bit pattern
LOWER2 Divides a fixed binary value by an integral power of 2
RAISE2 Multiplies a fixed binary value by an integral power of 2

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)