Now another easy one: a|b|c 0|0|0 0|1|0 1|0|1 1|1|1 code: = a
Another inversion, also probably useless: a|b|c 0|0|1 0|1|1 1|0|0 1|1|1 code: (~a) | (a & b)
-
-
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 -
-
-
Could be simplified to b | ~a, right?
- End of conversation
New conversation -
-
-
This one is useful in formal methods, it’s “a implies b” or “if a then b”
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.