
Re: Floor of the log equation: s = (floor(log10(x))+1)*x  round((10^(floor(log10(x))+1)10)/9)
Posted:
May 22, 2013 8:31 PM


Thank you Jim! I ended up developing a search algorithm fro that like you've suggested.
Since I don't have log(x) I calculate x using log(s). If log(x(s)) < log(s) then I recalculate using log(x(s)) and keep doing that until I both have the same value.
I didn't manage to prove it's correctness but it works! ;)

