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
In [57]: np.int64(2)**(2**62)
Out[57]: 0
In [58]: np.int64(2)**(2**63)
<ipython-input-58-7f1b37f891d0>:1: RuntimeWarning: overflow encountered in power
np.int64(2)**(2**63)
Out[58]: inf
In [59]: np.int64(2)**(2**64)
# seems to be doing the computation on object arrays?
The text was updated successfully, but these errors were encountered:
This seems like yet another nice example for gh-16287.
If we were to deprecate Python integer to object array coercion (and unsigned integers at least), the second and third examples would be an error. Although that is likely better than the current situation.
The text was updated successfully, but these errors were encountered: