@Masimatutu@lemm.ee to programmerhumor@lemmy.ml • 8 months agotrick OR treatimagemessage-square9 fedilinkarrow-up1377
arrow-up1377imagetrick OR treat@Masimatutu@lemm.ee to programmerhumor@lemmy.ml • 8 months agomessage-square9 Commentsfedilink
minus-squarewvstolzing@lemmy.mlhexbear1•8 months 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 linkfedilink
pretty sure both work
NAND 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
pretty sure I meant to say nor