diff options
| -rw-r--r-- | doc/release/upcoming_changes/19479.compatibility.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/19479.compatibility.rst b/doc/release/upcoming_changes/19479.compatibility.rst new file mode 100644 index 000000000..83533a305 --- /dev/null +++ b/doc/release/upcoming_changes/19479.compatibility.rst @@ -0,0 +1,7 @@ +Distutils forces strict floating point model on clang +----------------------------------------------------- +NumPy now sets the ``-ftrapping-math`` option on clang to enforce correct +floating point error handling for universal functions. +Clang defaults to non-IEEE and C99 conform behaviour otherwise. +This change (using the equivalent but newer ``-ffp-exception-behavior=strict``) +was attempted in NumPy 1.21, but was effectively never used. |
