hehe, the much beloved xor..
haven't seen the +- above yet..
but fastest is still with a temp variable.. register actually..
or possibly there is even some way with mmx?
similar there is something for the fu**ing fpu..
but its always fun to swap "mathematically".. without tempvar..
with that idea, people where able to define the radix sort, the only sort faster than the minimum O(n*lg2(n)).. hehe:D