Bitwise Operations
Functions for bitwise operations
Qualified Name | Type |
---|---|
|
Function |
Examples
operator | name | example | result |
---|---|---|---|
a & b |
AND |
|
12 |
a | b |
OR |
|
61 |
a ^ b |
XOR |
|
49 |
~a |
NOT |
|
-61 |
a << b |
LEFT SHIFT |
|
240 |
a >> b |
RIGHT SHIFT |
|
15 |
a >>> b |
UNSIGNED RIGHT SHIFT |
|
15 |