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

Vincent Lefèvre <vincent-gcc at vinc17 dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vincent-gcc at vinc17 dot net

--- Comment #4 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> ---
(In reply to Andrew Pinski from comment #3)
> There is still rounding errors when it comes to the math you are doing.

Yes, but the issue here is much more serious, and I don't see this bug as a
duplicate (bug 323 is just a cause of this more serious bug).

While it has been accepted that a floating-point variable can be multi-valued
(except in C99/C11 modes), this must not be the case on a variable of integer
type, even though the value of such a variable has been computed from a
floating-point expression: Once a floating-point number has been converted into
an integer type, the value of this integer must be fixed.

Reply via email to