This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/84309] [8 Regression] Wrong-code with -ffast-math


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

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> ---
Isn't this just an invalid test?  I mean, when working with floating point,
especially when using -ffast-math, one needs to accept some inaccuracy.
Here we compute
0x1.ffffffffffff9p+11
which is 7ulps from the correct result, I'd say for -ffast-math that is within
the acceptability limit.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]