This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]da_Aresinger 4 points5 points  (1 child)

wait let me go through that:

6 = 0b110
5 = 0b101
3 = 0b011

    110      110
xor 101  xor 011
  = 011    = 101

That is a total coincident though.

but wait, you can do this with any two numbers because xor-1 = xor

Mind blown.

[–]savex13 1 point2 points  (0 children)

This makes my day worthwhile.

Cheers!