We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9b69a3 commit 26a37c6Copy full SHA for 26a37c6
llvm/docs/LangRef.rst
@@ -3577,6 +3577,12 @@ seq\_cst total orderings of other operations that are not marked
3577
Floating-Point Environment
3578
--------------------------
3579
3580
+Unless noted otherwise, LLVM works with IEEE 754 floating-point semantics: LLVM
3581
+backends assume that the CPU is configured to provide IEEE-compatible behavior,
3582
+and LLVM frontends can assume that LLVM IR floating-point operations behave
3583
+according to the IEEE specification (with an :ref:`exception around NaN values
3584
+<floatnan>`).
3585
+
3586
The default LLVM floating-point environment assumes that traps are disabled and
3587
status flags are not observable. Therefore, floating-point math operations do
3588
not have side effects and may be speculated freely. Results assume the
0 commit comments