4 ms·
That’s an amazing hack. Cutting a lot of corners, the entire program of the calculator is 320 instructions, on a cpu that doesn’t even have a ‘multiply’ instruc
by Someone 9y ago
That’s an amazing hack. Cutting a lot of corners, the entire program of the calculator is 320 instructions, on a cpu that doesn’t even have a ‘multiply’ instruction. See http://files.righto.com/calculator/sinclair_scientific_simulator.html http://files.righto.com/calculator/sinclair_scientific_simul...
- tdeck 9y agoIf you like old calculator hacks, you might be interested to know that some early calculators (such as those from Wang[1]) could natively perform only addition, subtraction, e^x, and the natural log. So to multiply numbers, they took e^(ln(a) + ln(b)). See also: factor combining [2] [1]: https://en.wikipedia.org/wiki/Wang_Laboratories https://en.wikipedia.org/wiki/Wang_Laboratories [2]: https://en.wikipedia.org/wiki/CORDIC#Factor_combining https://en.wikipedia.org/wiki/CORDIC#Factor_combining
- golem14 9y agoThat's numberwang!!