Hacker News new | past | comments | ask | show | jobs | submit login

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_simul...



If 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 [2]: https://en.wikipedia.org/wiki/CORDIC#Factor_combining


That's numberwang!!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: