May 2005
Intermediate to advanced
352 pages
14h 39m
English
Bitwise operators are used for comparing numbers based on their binary digits. These operators are listed in Table B-4.
Table B-4. Bitwise operators
|
Operator |
Use |
|---|---|
|
| |
OR |
|
& |
AND |
|
<< |
Shift bits to left |
|
>> |
Shift bits to right |
|
~ |
NOT or invert bits |
The tilda
(~) may be used to invert the bits of a value.
Read now
Unlock full access