http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55145
Joseph S. Myers jsm28 at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |RESOLVED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55145
Bug 55145 depends on bug 21718, which changed state.
Bug 21718 Summary: real.c rounding not perfect
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21718
What|Removed |Added
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55145
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
Target Milestone|4.8.1 |4.8.2
---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55145
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
Target Milestone|4.8.0 |4.8.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55145
--- Comment #4 from H.J. Lu hjl.tools at gmail dot com 2012-11-04 10:14:07
UTC ---
It is due to long int usage in real.h. Depending on
size of long int, real.c gives slightly different
results.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55145
--- Comment #5 from Andreas Schwab sch...@linux-m68k.org 2012-11-04 11:04:03
UTC ---
This cannot explain the crashes you see since the difference is just one ULP.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55145
--- Comment #6 from H.J. Lu hjl.tools at gmail dot com 2012-11-04 11:09:12
UTC ---
(In reply to comment #5)
This cannot explain the crashes you see since the difference is just one ULP.
The glibc crash is fixed by
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55145
--- Comment #7 from H.J. Lu hjl.tools at gmail dot com 2012-11-04 22:51:46
UTC ---
Here are different internal values from the same input:
32-bit long: 1.57079632679489661925640447970309310221637133509
Input:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55145
--- Comment #8 from Vincent Lefèvre vincent-gcc at vinc17 dot net 2012-11-04
23:43:44 UTC ---
(In reply to comment #7)
Here are different internal values from the same input:
32-bit long: 1.57079632679489661925640447970309310221637133509