HNHacker News
TopNewBestAskShowJobs

tata12345

1 karma · joined March 20, 2017

submissionscomments
tata12345··on Insect: a fast, repl-style scientific calculator
It's great that you use significant digits, but then you have to be explicit about it, and display exactly that many digits, in this case all the zeros (1,00000).

> I would say that six sign. digits are more than enough for most applications

A better solution would be to not use a fixed number of significant digits, but to display the result with the precision of the least precise number the user entered. If you could follow the propagation of uncertainty through the calculations, that would be even better.

https://en.wikipedia.org/wiki/Propagation_of_uncertainty

PS: Great job anyway, bookmarked, thanks!