[Numpy-discussion] ufunc oddities
Sat May 24 23:00:12 CDT 2008
On Sat, May 24, 2008 at 10:48 PM, Charles R Harris
> You can't overflow in modular arithmetic, which is how numpy is supposed to
> work. Try
> In : x
> Out: array([2147483647, 2147483647])
> In : x.sum()
> Out: -2
I would call that an overflow.
Have you considered that other people might have a different notion of
"how numpy is supposed to work"?
Nathan Bell firstname.lastname@example.org
More information about the Numpy-discussion