Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The Three Ways of XOR. Parent comment
> I think this works too, assuming a+b doesn't overflow.
Well, in two's complement arithmetic (as is used on most architectures), the intermediate overflow can be ignored, and it will work just fine.
There are no comments on this comment yet.
> I think this works too, assuming a+b doesn't overflow.
Well, in two's complement arithmetic (as is used on most architectures), the intermediate overflow can be ignored, and it will work just fine.