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'.
Note: This is only observed in 32-bit systems and not 64-bit ones.
importnumbaimportnumpyasnp@numba.njitdeffoo(x):
print("from within: ",x)
returnxfoo(0)
print( foo( np.iinfo(np.int32).max+1) )
# Returns a negative integer (overflow), the function signature stays as `int32` argument instead of an `int64`/`uint32`
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'.
Note: This is only observed in 32-bit systems and not 64-bit ones.
First encountered in #8041
The text was updated successfully, but these errors were encountered: