Reserved Words and Expressions : Expressions : Trigger Expressions : Condition Expressions : Bit-Wise Operations

Bit-Wise Operations

The following operations are relevant to integer, bit, and bit-array operands; the result is a bit-array. The list presents the operations in descending order of precedence. Parentheses can be used to alter the evaluation order. Bit-wise operations, besides the not operation, have lower precedence than comparison relations and numeric operations. The not operation has higher precedence.

 
A
AND
B
A NAND B
A
OR
B
A
NOR
B
A
XOR
B
A
NXOR B

 

Note: An ampersand (for example, A & B) denotes concatenation

Refer to Bit-Array Functions for more information.