Integer manipulation built-in functions

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

Table 1. Integer manipulation built-in functions
Function Description
IAND Calculates the bitwise "and" of 2 or more fixed binary values.
ICLZ Counts the number of leading zeros in a FIXED BIN value.
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.





Published: 23 December 2018