News for hackers. Stuff that matters.
Re:Signed Integers Are Two’s Complement by Phrodo_00 on Thursday May 31, 2018 @01:22AM (#17194150)
TIL about signed overpunch

Except the "natural" way also recognizes a single zero with no sign, so it's still not accurately modeling that.

If you wanted to model natural arithmetic accurately you'd need 2 bits for the sign (positive, negative, unsigned). At that point, all of single bit signed magnitude, and complements are compromises.

There are no comments on this comment yet.