https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66736
--- Comment #2 from dhekir at gmail dot com --- Isn't the library implementation of log10f used to compute the literal constants generated in the assembly code? Would it then be a double precision result that would be precomputed and rounded to single precision in this case? Well, sorry for the noise, I compared the results with other compilers and, even if the numerical results themselves were different, they were consistent between precomputed constant literals and the underlying libc, therefore such surprising situations do not arrive. I assumed that it was not intented in GCC and so it would be useful to report it, but if it's not the same library function used in both cases, that explains the issue.