This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/51446] -fno-trapping-math generates NaN constant with different sign
- From: "lucier at math dot purdue.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 Dec 2011 17:05:43 +0000
- Subject: [Bug middle-end/51446] -fno-trapping-math generates NaN constant with different sign
- Auto-submitted: auto-generated
- References: <bug-51446-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51446
--- Comment #9 from lucier at math dot purdue.edu 2011-12-08 17:05:43 UTC ---
Table 4.7 of the
AMD64 Architecture Programmerâs Manual Volume 1:
Application Programming
has a footnote 3 that says
3. The floating-point indefinite value is a QNaN with a negative sign and a
significand whose value is 1.100 ... 000.
Table 4.8 gives the encodings for all the indefinite values again.