On Thu, Sep 18, 2014 at 12:17 PM, Steven D'Aprano <steve@pearwood.info> wrote:

> What I do care about is that Python and Numpy should give the same

> result. It would be nice to see this changed in either Python or

> Numpy, whatever the "correct" result is.

That is reasonable.

Consistency with NumPy cannot aways be achieved. Note that numpy.floor returns floats while math.floor returns ints. (NumPy cannot follow stdlib here because it does not have arbitrary precision integers.)