Re:The Three Ways of XOR
by amelius on Monday February 13, 2017 @09:31AM
(#13635420)
In two's complement arithmetic, you are basically computing modulo N (N = 2 to the power of the number of bits). So overflow will not interfere with the swap operation.
[ Parent
| on HN ]
There are no comments on this comment yet.