You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have included a self contained code sample to reproduce the problem.
i.e. it's possible to run as 'python bug.py'.
fromnumbaimportnjitimportnumpyasnp@njitdeffoo(x):
returnx**-1foo(np.array([np.nan])) # array([nan])foo(np.array([np.nan], np.float32)) # ZeroDivisionError: division by zero
Tested under python 3.10.9. This behavior appears in 0.57.1, but is not present in 0.56.4. Setting fastmath=False per #8889 doesn't change this behavior.
The text was updated successfully, but these errors were encountered:
Thanks for the report. Unfortunately this doesn't seem to reproduce for me, I've tested it on a couple of systems with different configurations. There are some issues with pow as noted in #7012, it might be another issue in the implementation that moving to LLVM 14 has highlighted.
This issue is marked as stale as it has had no activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with any updates and confirm that this issue still needs to be addressed.
Reporting a bug
visible in the change log (https://github.com/numba/numba/blob/main/CHANGE_LOG).
i.e. it's possible to run as 'python bug.py'.
Tested under python 3.10.9. This behavior appears in 0.57.1, but is not present in 0.56.4. Setting
fastmath=False
per #8889 doesn't change this behavior.The text was updated successfully, but these errors were encountered: