Skip to content

Commit

Permalink
DOC: Add release note about clang floating point error flag change
Browse files Browse the repository at this point in the history
  • Loading branch information
seberg committed May 20, 2021
1 parent 817684a commit a303b33
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/release/upcoming_changes/19049.compatibility.rst
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit a303b33

Please sign in to comment.