I'm seeing strange behavior with base 10 logarithms in python 2.7.
int(log(10**6,10))
incorrectly returns 5, while
int(log10(10**6))
correctly returns 6. What's going on here?
I'm seeing strange behavior with base 10 logarithms in python 2.7.
int(log(10**6,10))
incorrectly returns 5, while
int(log10(10**6))
correctly returns 6. What's going on here?