« first day (1791 days earlier)      last day (1509 days later) » 

10:54 PM
88
Q: Why is two's complement used to represent negative numbers?

RayI'm just curious if there's a reason why in order to represent -1 in binary, two's complement is used: flipping the bits and adding 1? -1 is represented by 11111111 (two's complement) rather than (to me more intuitive) 10000001 which is binary 1 with first bit as negative flag. Disclaimer: I do...

 

« first day (1791 days earlier)      last day (1509 days later) »