| Operator | Description |
|---|---|
| ~ | bitwise NOT |
| & | bitwise AND |
| | | bitwise OR |
| ^ | bitwise XOR |
| << | left shift |
| >> | right shift |
Right shift of unsigned and positive signed quantities inserts zeros on left.
Right shift of negative quantities may insert zeros or ones on left.