Bitwise Operators: Difference between revisions
m
added more trivia
Puppydrum64 (talk | contribs) m (Added more properties) |
Puppydrum64 (talk | contribs) m (added more trivia) |
||
Line 114:
==NOT==
A bitwise <code>NOT</code>, or <code>~</code> takes one number as an argument and flips all its bits. This has its uses, especially when reading video game controllers, but is a little more limited than the others.
Among <code>AND</code>, <code>OR</code>, <code>XOR</code>, and <code>NOT</code>, only <code>XOR</code> and <code>NOT</code> are reversible.
|