summaryrefslogtreecommitdiff
path: root/numpy/array_api/_constants.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-04-22 12:47:46 +0200
committerSebastian Berg <sebastian@sipsolutions.net>2022-04-28 13:05:26 +0200
commitd59f7b0f307e2ad80d13c5078ff654c3c13df1e4 (patch)
tree0492bf96a5f84cb11efc94bbab5c9bffbf3cb547 /numpy/array_api/_constants.py
parentfa2a97b140107f1b341798542fc0911471d717c8 (diff)
downloadnumpy-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/_constants.py')
0 files changed, 0 insertions, 0 deletions