https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102930
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I think there is nothing that can be done about this, and something like this has been there since forever. While perhaps some double routines in glibc used to be at some point correctly roundded, many others (e.g. float or long double) never were, there is always a chance you get different results from compile time folding vs. runtime evaluation.