[Bug analyzer/117677] [15 Regression] Regression in fail, at selftest.cc:47

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 19 15:29:55 GMT 2024


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117677

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> ---
Guess excess precision.
Better replace those with something that can be exactly represented in all the
possible double host formats.
If you want to parse something close to pi, I'd suggest
3.1416015625
(i.e. 3 + 1./8 + 1./64 + 1./1024).
And 42e-1 is bad too, I'd suggest 425e-2.


More information about the Gcc-bugs mailing list