diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-04-22 12:47:46 +0200 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2022-04-28 13:05:26 +0200 |
commit | d59f7b0f307e2ad80d13c5078ff654c3c13df1e4 (patch) | |
tree | 0492bf96a5f84cb11efc94bbab5c9bffbf3cb547 /numpy/array_api/_creation_functions.py | |
parent | fa2a97b140107f1b341798542fc0911471d717c8 (diff) | |
download | numpy-d59f7b0f307e2ad80d13c5078ff654c3c13df1e4.tar.gz |
BUG: Move FPE clearing to work around issue on clang
I am not sure why the previous places led to (oddly) unreliable code
on some Mac clang versions. Moving it here fixes it, so it is all fine.
There was previously some inlining, which we should be able to trust the
compiler to do (as an attempt to get back to the same result as the
macro version.
But it turned out the issue was moving down the FPE clearing till after
we know we actually do the operation.
This also removes an unused function for true division IIRC.
Diffstat (limited to 'numpy/array_api/_creation_functions.py')
0 files changed, 0 insertions, 0 deletions