Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jeremiecoullon
on March 19, 2021
|
parent
|
context
|
favorite
| on:
The MANIAC 1 documentation (1954) [pdf]
The way to represent negative numbers (page 3 of the manual) is really cool: to do "a - b" you add a to the complement of b (with the complement of b being 2 - |b|).
It feels really similar to modular arithmetic: -3 = 7 (modulo 10)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
It feels really similar to modular arithmetic: -3 = 7 (modulo 10)