Pinwheel calculators were mechanical four-function machines popular from roughly the 1920s through the 1960s. Their operating method becomes clear through examples: addition and subtraction are performed by entering a number and turning a crank clockwise or counterclockwise. For multiplication, the operator repeatedly adds one number, shifting the accumulator carriage by decimal places to multiply by tens or hundreds. In the example 79 × 123, three crank turns add 79 × 3, a shifted position and two turns add 79 × 20, and another shift and turn add 79 × 100. Division works by repeatedly subtracting decimal-place multiples of the divisor; the quotient appears in a counter and the remainder stays in the accumulator.
The core mechanism is a stack of digit-setting disks, one per decimal place. Each disk has nine sliding pins, and its setting ring extends the number of pins matching the chosen digit. As the crank turns, those pins engage gears that advance the corresponding accumulator digit. Carrying is handled by spring-loaded pins and cams: when a digit rolls from 9 to 0, a cam moves a sensing lever into position so the carry pin engages the gear for the next column. The carry pins are staggered, allowing a carry to ripple across several digits, as when adding 1 to 9999. The machines also include safeguards against incorrect operation, register-reset levers, and bells for overflow or underflow. The accumulator’s role in these devices also explains the origin of the same name for a register in Intel CPUs.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.