A newer version of this document is available. Customers should click here to go to the newest version.
Intrinsic Procedures for Bit Operation and Representation
The following tables list intrinsic procedures for bit operation and representation.
Name |
Procedure Type |
Description |
---|---|---|
Intrinsic Function |
Performs a bitwise comparison for greater than or equal. |
|
Intrinsic Function |
Performs a bitwise comparison for greater than. |
|
Intrinsic Function |
Performs a bitwise comparison for less than or equal. |
|
Intrinsic Function |
Performs a bitwise comparison for less than. |
|
Intrinsic Function |
Returns the number of bits in integers of the type the argument. |
|
Intrinsic Function |
Tests a bit in a position of the argument; true if bit is 1. |
|
Intrinsic Function |
Performs a combined left shift. |
|
Intrinsic Function |
Performs a combined right shift. |
|
Intrinsic Function |
Performs a logical AND. |
|
Intrinsic Function |
Reverses value of bit in a position of the argument. |
|
Intrinsic Function |
Clears the bit in a position of the argument to zero. |
|
Intrinsic Function |
Extracts a sequence of bits of length from the argument starting in a position. |
|
Intrinsic Function |
Sets the bit in a position of the argument to one. |
|
Intrinsic Function |
Performs an exclusive OR. |
|
Intrinsic Function |
Performs an inclusive OR. |
|
Intrinsic Function |
Shifts the argument arithmetically left or right by shift bits; left if shift positive, right if shift negative. Zeros shifted in from the right, ones shifted in from the left. |
|
Intrinsic Function |
Performs a circular shift of the argument left or right by shift bits; left if shift positive, right if shift negative. No bits lost. |
|
Intrinsic Function |
Shifts the argument logically left or right by shift bits; left if shift positive, right if shift negative. Zeros shifted in from opposite end. |
|
Intrinsic Function |
Performs a circular shift of the rightmost bits of (optional) size by shift bits. No bits lost. |
|
Intrinsic Function |
Shifts the argument logically left or right by shift bits. Zeros shifted in from opposite end. |
|
Intrinsic Function |
Creates a left justified mask. |
|
Intrinsic Function |
Creates a right justified mask. |
|
Intrinsic Function |
Performs a merge of bits under mask. |
|
Intrinsic Subroutine |
Copies a sequence of bits from one integer to another. |
|
Intrinsic Function |
Performs a logical complement. |
|
Intrinsic Function |
Performs a right shift with fill. |
|
Intrinsic Function |
Performs a left shift. |
|
Intrinsic Function |
Performs a right shift. |
Name |
Procedure Type |
Description |
---|---|---|
Intrinsic Function |
Returns leading zero bits in an integer. |
|
Intrinsic Function |
Returns number of 1 bits in an integer. |
|
Intrinsic Function |
Returns the parity of an integer. |
|
Intrinsic Function |
Returns trailing zero bits in an integer. |