2 ms·
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 -
by jeremiecoullon 6y ago
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)