posted 21 years ago
but what about if the number were negative... still no change to the original value methinks...
Correct.
but no such simple rule would be for an exclusive or operation?
There's actually a very simple rule for the result of x ^ x. Try it with an example - what's 41 ^ 41? In binary:
00101001 ^ 00101001 = ?
"I'm not back." - Bill Harding, Twister