Houjun Liu

bitwise operations

& | ~ ^ << >>

&

Bitwise level AND

|

Bitwise level OR

~

Unary bitwise negation

^

Unary XOR

<<

Shift the number to the left. Fill unused slots with 0.

>>

Shift the number to the right