[Numpy-discussion] integer division rule?
pav at iki.fi
Sat Mar 13 16:04:52 EST 2010
la, 2010-03-13 kello 15:32 -0500, Alan G Isaac kirjoitti:
> Francesc Altet once provided an example that for integer
> division, numpy uses the C99 rule: round towards 0.
> This is different than Python's rule for integer division:
> round towards negative infinity.
> But I cannot reproduce his example. (NumPy 1.3.)
> Did this behavior change at some point?
It was changed in r5888. What the rationale was is not clear from the
More information about the NumPy-Discussion