[Numpy-discussion] Oddity with numpy.int64 integer division

Warren Focke focke@slac.stanford....
Wed Apr 25 14:44:18 CDT 2007


On futher contemplation, and hearing others' arguments, I'm changing my
vote.  Make it compatible with python.

w

On Tue, 24 Apr 2007, Warren Focke wrote:

>
>
> On Tue, 24 Apr 2007, Timothy Hochberg wrote:
>
> > On 4/24/07, Robert Kern <robert.kern@gmail.com> 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).
>
> w
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>


More information about the Numpy-discussion mailing list