Get the latest tech news
Estimating Logarithms
While reading through the fantastic book *[The Lost Art of Logarithms](https://www.lostartoflogarithms.com/)* by [Charles Petzold](https://www.charlespetzold.com/) I was nerd-sniped by a [simple method](https://www.lostartoflogarithms.com/chapter04/) of estimating the logarithm of any number base 10. According to the book, it was developed by [John Napier](https://en.wikipedia.org/wiki/John_Napier) (the father of the logarithm) about 1615. I implemented the method in python to understand it better.
Simply exchanging the complexity of calculating the logarithm with an extremely tedious exponentiation isn’t very useful, we are lacking one more insight… Fortunately, between the 17th century and today, mathematicians came up with something that makes this task a lot easier: scientific notation. This is still a lot of work to do by hand and thus I went ahead and wrote a little python script that starts from N10N^{10}N10 and calculates the logarithm up to arbitrary precision.
Or read this on Hacker News