Comment Re:Question 3 Solved (Score 1) 392
Am I missing something, or will the XOR trick only work for numbers less than the bit-size of your architecture? i.e. if you're doing this on a 32-bit machine, and A or B is greater than 4294967295, it won't work.