Masimatutu@lemm.ee to Programmer Humor@lemmy.ml • 1 year agotrick OR treatimagemessage-square9 fedilinkarrow-up1379
arrow-up1379imagetrick OR treatMasimatutu@lemm.ee to Programmer Humor@lemmy.ml • 1 year agomessage-square9 Commentsfedilink
minus-squarewvstolzing@lemmy.mlhexbear1·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 linkfedilink
pretty sure both work
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
pretty sure I meant to say nor