In article <MYwDEFy00WB842JEUx at andrew.cmu.edu> tg1e+ at andrew.cmu.edu (Timothy R. Gottschalk) writes: > x += y; > y = x - y; > x -= y; This is an old trick (usually done using XOR instead of + and -). Your version can fail if arithmetic overflow occurs.