[PATCH] D20457: Update -ffast-math documentation to match reality.
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Fri May 20 14:36:34 PDT 2016
rsmith accepted this revision.
This revision is now accepted and ready to land.
================
Comment at: docs/UsersManual.rst:1067
@@ +1066,3 @@
+ ``(a + b) * c == a * c + b * c``),
+ * operands to fp operations are not equal to ``NaN`` and ``Inf``, and
+ * ``+0`` and ``-0`` are interchangeable.
----------------
fp -> floating-point
================
Comment at: include/clang/Basic/LangOptions.def:165
@@ -164,3 +164,3 @@
COMPATIBLE_LANGOPT(Deprecated , 1, 0, "__DEPRECATED predefined macro")
-COMPATIBLE_LANGOPT(FastMath , 1, 0, "__FAST_MATH__ predefined macro")
+COMPATIBLE_LANGOPT(FastMath , 1, 0, "fast fp math optimizations, and __FAST_MATH__ predefined macro")
COMPATIBLE_LANGOPT(FiniteMathOnly , 1, 0, "__FINITE_MATH_ONLY__ predefined macro")
----------------
fp -> FP
http://reviews.llvm.org/D20457
More information about the cfe-commits
mailing list