Bitwise operation uses BIGINT UNSIGNED operation, without the need to consider the sign bit.
The following table lists all bitwise operators.
| Operator | Operand | Description |
|---|---|---|
& |
Binary | The bitwise AND operator |
| |
Binary | The bitwise OR operator |
~ |
Unary | The bitwise NOT operator |
^ |
Binary | The bitwise XOR operator |
<< |
Binary | The logical shift left operator |
>> |
Binary | The logical shift right operator |