On Saturday, 25 January 2014 at 17:15:56 UTC, Ola Fosheim Grøstad wrote:
Fortunately most CPUS have ones-complement so the result is

Err... "Two's complement." Nngh! Anyway, the basic idea is to think of minus for unsigned integers as ~x + 1, not as a operation using negative integers. Then it makes sense.

Reply via email to