News for hackers. Stuff that matters.
Re:That XOR Trick (2020) by ikurei on Thursday July 03, 2025 @04:07AM (#44452752)
I think they meant that XOR avoids the overflow risk, whereas doing the sum of the array to figure out which number could cause an overflow.
Re:That XOR Trick (2020) by jonathrg on Thursday July 03, 2025 @06:55AM (#44453718)
(wrapping) overflow doesn't affect the final result.