[Numpy-discussion] Oddity with numpy.int64 integer division
Tue Apr 24 16:44:17 CDT 2007
On Tue, 24 Apr 2007, Timothy Hochberg wrote:
> On 4/24/07, Robert Kern <firstname.lastname@example.org> wrote:
> > Christian Marquardt wrote:
> > > Restore the invariant, and follow python.
> This seems to imply that once upon a time numpy/numeric/numarray followed
> python here, but as far as I can recall that was never the case. Instead
> they followed C completely, ostensibly for performance reasons. That
> preserved the invariant in question, but not compatibility with Python.
That's how I remember it, too. And I think I'd prefer it be that way
again, unless it can be demonstrated that the hit from being consistent
with python is "small".
Note that C99 specifies behavior opposite that of python (but still
consistent with itself).
More information about the Numpy-discussion