Next is the familiar AND operation. a&b a|b|c 0|0|0 0|1|0 1|0|0 1|1|1 code: a & b
This one is hard to even think of a use for: a|b|c 0|0|1 0|1|0 1|0|1 1|1|1 code: (~b) | (a & b)
-
-
An inversion of an earlier simple one: a|b|c 0|0|1 0|1|1 1|0|0 1|1|0 code: ~a
Show this thread -
Another inversion, also probably useless: a|b|c 0|0|1 0|1|1 1|0|0 1|1|1 code: (~a) | (a & b)
Show this thread -
Last one! set all of the bits: a|b|c 0|0|1 0|1|1 1|0|1 1|1|1 code: = ~0
Show this thread -
That's all 16! If you think I need to number them, this thread wasn't for you ;-) just read the right most column as the number MSB to LSB top to bottom. Any good names for any of the un-named ones?
Show this thread
End of conversation
New conversation -
-
-
Simplifies to ~b|a, i.e., b->a.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.