You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clang/docs/UsersManual.rst
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1724,9 +1724,18 @@ floating point semantic models: precise (the default), strict, and fast.
1724
1724
and ``fast``.
1725
1725
Details:
1726
1726
1727
-
* ``precise`` Disables optimizations that are not value-safe on floating-point data, although FP contraction (FMA) is enabled (``-ffp-contract=on``). This is the default behavior.
1728
-
* ``strict`` Enables ``-frounding-math`` and ``-ffp-exception-behavior=strict``, and disables contractions (FMA). All of the ``-ffast-math`` enablements are disabled. Enables ``STDC FENV_ACCESS``: by default ``FENV_ACCESS`` is disabled. This option setting behaves as though ``#pragma STDC FENV_ACCESS ON`` appeared at the top of the source file.
1729
-
* ``fast`` Behaves identically to specifying both ``-ffast-math`` and ``ffp-contract=fast``
1727
+
* ``precise`` Disables optimizations that are not value-safe on
1728
+
floating-point data, although FP contraction (FMA) is enabled
1729
+
(``-ffp-contract=on``). This is the default behavior. This value resets
1730
+
``-fmath-errno`` to its target-dependent default.
1731
+
* ``strict`` Enables ``-frounding-math`` and
1732
+
``-ffp-exception-behavior=strict``, and disables contractions (FMA). All
1733
+
of the ``-ffast-math`` enablements are disabled. Enables
1734
+
``STDC FENV_ACCESS``: by default ``FENV_ACCESS`` is disabled. This option
1735
+
setting behaves as though ``#pragma STDC FENV_ACCESS ON`` appeared at the
1736
+
top of the source file.
1737
+
* ``fast`` Behaves identically to specifying both ``-ffast-math`` and
1738
+
``ffp-contract=fast``
1730
1739
1731
1740
Note: If your command line specifies multiple instances
1732
1741
of the ``-ffp-model`` option, or if your command line option specifies
0 commit comments