09-15-2022, 09:47 PM
(09-15-2022, 09:14 PM)Pete Wrote: I think I saw that formula when I was search around online. I couldn't use it, because I have not yet created a decimal power algorithm in my string math routines. For instance input 2 as the root and 16 as the number: The equation 1 / 2 = .5. Raising x ^.5 is not in my routines yet.
I may need to find a method to calculate decimal powers soon, but that method would have to be based on */+-. No logs.
Thanks for posting this, as it is great for small numbers. Very efficient!
Pete
The formula comes from here: Quick Basic: Mathematische Funktionen
I entered the 16th root of base 2. The result is correct - of course, if you check it, you get the usual inaccuracy: 1.99... instead of 2.