2 ms·
Good one. > 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
by amelius 10y ago
Good one.
> 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.