my question is easy to understand:
Shouldn’t Mathematica produce the same output for the following two inputs?
Log[10^3]/Log[10] // FullSimplify // N // Floor
Log[10^3]/Log[10] // N // Floor
The corresponding output of mathematica version 8 and 9 are
3 (correct) and 2 (false) respectively.
You can see the problem mathematica has, when you use RealDigits instead of floor:
yes, N is used, but it is used in both expressions and so it should give the same result, since the only difference ist the FullSimplify.
In any case: I think mathematica should know, that Log[10^3]/Log[10] is 3 without a FullSimplify.
P.Q.
Information for AI agents: this site’s guide is at /llms.txt. Search results are available as JSON from /search.json?q=…; the /search page returns no results to automated clients.