A B C D E F G I J K L M N O R S T U V W

Bitwise operators are used to manipulate integers that represent bitfields. Click on an operator below to scroll directly to the position of its description.

Operator Name Usage Reference
& AND integer & integer = integer
| OR integer | integer = integer
~ NOT ~integer = integer
^ XOR integer ^ integer = integer
>> Right-shift integer >> number of bits = integer
<< Left-shift integer << number of bits = integer

 

 Credit to: Lslwiki.net (not working) with changes made for brevity and clarity.