Bitwise Operators: Difference between revisions
m
→OR
Puppydrum64 (talk | contribs) m (→AND: Removed the "8 bit architecture" explanation since no reference to 8 bits was made in the properties.) |
Puppydrum64 (talk | contribs) m (→OR) |
||
Line 70:
When we say "or" in the English language, we usually mean "one or the other, but not both." This isn't the case in programming. That's actually a different operator which will be covered later.
A few properties of OR that aren't readily apparent.
For all numbers A:
* <code>A | 0 = A</code>
|