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
Hey there. I've noticed a bug related to long arithmetic operations. Attached a screenshot below.
NumPy v.1.10.4
Python 3.5
OS X 10.11.4
Custom involution and the operation that is performed to numpy.int64 types do well. Now look at the last two cells with elementwise involution. It appears to be that NumPy fails to compute the last value in the resulting array correctly.
The text was updated successfully, but these errors were encountered:
For arrays, numpy calls the C pow function for integral types (ref) for scalars, it calls a power routine that uses integer multiplication (ref). Looks to me as though this is a long latent bug, as the technique used for scalar power (added in 2006) should probably be used for arrays as well.
Hey there. I've noticed a bug related to long arithmetic operations. Attached a screenshot below.
NumPy v.1.10.4
Python 3.5
OS X 10.11.4
Custom involution and the operation that is performed to
numpy.int64
types do well. Now look at the last two cells with elementwise involution. It appears to be that NumPy fails to compute the last value in the resulting array correctly.The text was updated successfully, but these errors were encountered: