This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/51441] Incorrect FP rounding on addition of doubles
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 Dec 2011 20:17:36 +0000
- Subject: [Bug target/51441] Incorrect FP rounding on addition of doubles
- Auto-submitted: auto-generated
- References: <bug-51441-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51441
--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-12-06 20:17:36 UTC ---
Please identify the target for which the compiler is configured. If
32-bit x86, then note that in accordance with FLT_EVAL_METHOD you have
double rounding (two double values are converted to long double, added as
long doubles and then the long double sum rounded to double).