The full complement of standard bitwise operations are supported in Relate Script. To explain how they work is beyond the scope of this document, therefore, only a quick summary is included here. Bitwise operations work on Integers. Integers in Relate Script are signed and 64-bit. The operators are:
Operator | Description |
& | Bitwise AND |
| | Bitwise OR |
^ | Bitwise XOR |
~ | Bitwise NOT or 1's Complement |
<< | Left-Shift |
>> | Right-Shift with Sign Propagation. |
>>> | Unsigned Right-Shift |