libm: change wording wrt gcc nan comparison bug
[www] / libm / index.html
index 9d9f09e..c78f9ce 100644 (file)
@@ -335,8 +335,9 @@ account: a simple x = 1e300*1e300; may not raise overflow
 exception at runtime, but get optimized into x = +inf.
 see compiler optimizations above.
 <p>
-Another x87 gcc (&lt;4.6) bug is that comparision operators (==, &lt;, etc)
-don't raise exceptions on nan
+Another x87 gcc bug related to fp exceptions is that
+comparision operators (==, &lt;, etc) don't raise invalid
+when an operand is nan
 (eventhough this is required by ieee + c99 annex F).
 (see <a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52451">gcc bug52451</a>).
 <p>