
01-30-2013, 11:25 PM
|
ǝɔɐɹq ʎןɹnɔ
|
 |
Join Date: Dec 2006
Location: Germany
Posts: 5,153
|
|
xor, usually the ^ operator in other languages, is bitwise exclusive or. Compares the two inputs bit by bit, bit output is 1 if one bit is 1 and the other is 0, otherwise 0.
For example: 3 xor 5 == 6
Because:
3 == 011
5 == 101
6 == 110
Not sure if the class keyword is actually being used. |
|
|