diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2021-05-20 11:30:18 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-20 11:30:18 -0600 |
commit | 4732c242e2d9ef649f1aa71b261e51068a9b41a9 (patch) | |
tree | 95643bfc67be29a55aa2a5d73d64f3df4b89e338 /doc | |
parent | a31a1a1d6176addab8d6b9431b10019034049ce7 (diff) | |
parent | a303b33b7b2a06266f51c86be93ca77ddf55025f (diff) | |
download | numpy-4732c242e2d9ef649f1aa71b261e51068a9b41a9.tar.gz |
Merge pull request #19049 from seberg/clang-fperr-bug
BLD,API: (distutils) Force strict floating point error model on clang
Diffstat (limited to 'doc')
-rw-r--r-- | doc/release/upcoming_changes/19049.compatibility.rst | 6 |
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. |