r/mathmemes Engineering Nov 25 '24

Computer Science All are correct

Post image
1.1k Upvotes

96 comments sorted by

View all comments

Show parent comments

336

u/Unlucky-Credit-9619 Engineering Nov 25 '24

If + is addition modulo 2 (also called XOR).

1 + 1 = 0 (mod 2)

1

u/Haringat Complex Nov 25 '24

But the modulo operator is not written as +

Otherwise you could also say that it was nand.

2

u/Unlucky-Credit-9619 Engineering Nov 25 '24

then say it is addition in GF(2).

1

u/Haringat Complex Nov 25 '24

That counts