https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96600
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The testcase just assumes that modfl will be evaluated the same at compile time and at runtime, but for the broken by design double double format that is not the case. GCC internally treats the type as one with fixed 106 bit precision and that is why you get those results, while at runtime it actually is a variable bit precision (53 to 2000-ish mantissa bits) depending on the exact value.