Computer Science / Unit 5 CS 0242 short lesson, about 20 seconds
The Sign Problem
Captions available
The idea
The first two attempts at negative numbers both misfire: sign-magnitude and one's complement each produce two representations of zero, wasting a pattern and complicating the hardware.
In practice
A design history where the obvious option loses twice is a design history worth remembering.
Where people slip
Intuitive for people and good for machines diverge here.
Your place on the trail
Every lesson rests on earlier ones and opens later ones. Tap any to jump.
Builds on
Unlocks
Something wrong in this lesson? Flag it · Sources for Computer Science