
13 Mar
2010
13 Mar
'10
2:32 p.m.
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?
Thanks, Alan Isaac