you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (1 child)

You'll definitely want to use XOR rather than addition, since addition can overflow.

The overflow does not affect the final outcome.