summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/release/upcoming_changes/19049.compatibility.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/19049.compatibility.rst b/doc/release/upcoming_changes/19049.compatibility.rst
new file mode 100644
index 000000000..5a6eadc7a
--- /dev/null
+++ b/doc/release/upcoming_changes/19049.compatibility.rst
@@ -0,0 +1,6 @@
+Distutils forces strict floating point model on clang
+-----------------------------------------------------
+NumPy distutils will now always add the ``-ffp-exception-behavior=strict``
+compiler flag when compiling with clang. Clang defaults to a non-strict
+version, which allows the compiler to generate code that does not set
+floating point warnings/errors correctly.