Bitwise Operators: Difference between revisions
m
→XOR: fixed formatting inconsistency
Puppydrum64 (talk | contribs) m (Had citations in the wrong section) |
Puppydrum64 (talk | contribs) m (→XOR: fixed formatting inconsistency) |
||
Line 106:
* A bitwise <code>NOT</code> is the same as <code>XOR -1</code>.
* <code>A ^ A = 0</code>. Furthermore, if <code>A ^ B = 0</code>, then <code>A = B</code>.
* If <code>((A ^ B) & C) = 0</code>, then A and B both share the bits of C in common.
|