Masimatutu@lemm.ee to Programmer Humor · 1 year agotrick OR treatmedia.infosec.exchangeimagemessage-square21fedilinkarrow-up11.15Karrow-down19
arrow-up11.14Karrow-down1imagetrick OR treatmedia.infosec.exchangeMasimatutu@lemm.ee to Programmer Humor · 1 year agomessage-square21fedilink
minus-squarewvstolzinglinkfedilinkarrow-up1·1 year agoNAND and XOR aren’t equivalent, though | X | Y | X NAND Y | | 0 | 0 | 1 | | 1 | 0 | 1 | | 0 | 1 | 1 | | 1 | 1 | 0 | | X | Y | X XOR Y | | 0 | 0 | 0 | | 1 | 0 | 1 | | 0 | 1 | 1 | | 1 | 1 | 0 | & XOR can be reduced to NAND; not sure if NAND can be reduced to XOR
minus-squaremyslsl@mastodon.sociallinkfedilinkarrow-up2·1 year ago@walthervonstolzing @AntiOutsideAktion If ya’ll get bored and wanna read more about this, this is a property called functional completeness. I’m pretty sure nand and nor are the only functionally complete binary operators, so xor shouldn’t be functionally complete. https://en.m.wikipedia.org/wiki/Functional_completeness
minus-squareAntiOutsideAktion [he/him]@hexbear.netlinkfedilinkEnglisharrow-up1arrow-down1·edit-21 year agopretty sure I meant to say nor
NAND and XOR aren’t equivalent, though
| X | Y | X XOR Y | | 0 | 0 | 0 | | 1 | 0 | 1 | | 0 | 1 | 1 | | 1 | 1 | 0 |
& XOR can be reduced to NAND; not sure if NAND can be reduced to XOR
@walthervonstolzing @AntiOutsideAktion
If ya’ll get bored and wanna read more about this, this is a property called functional completeness. I’m pretty sure nand and nor are the only functionally complete binary operators, so xor shouldn’t be functionally complete.
https://en.m.wikipedia.org/wiki/Functional_completeness
pretty sure I meant to say nor