Re: [Numpy-discussion] (no subject)

2014-09-18 Thread Petr Viktorin
On Thu, Sep 18, 2014 at 7:14 PM, Jonathan Helmus wrote: > On 09/18/2014 12:01 PM, Chris Barker wrote: > > Well, > > First of all, numpy and the python math module have a number of differences > when it comes to handling these kind of special cases -- and I think that: > > 1) numpy needs to do what

Re: [Numpy-discussion] float('inf') // 1 = ?

2014-09-18 Thread Petr Viktorin
I recommend reading the python-ideas thread; there are some arguments for both sides. > On Thu, Sep 18, 2014 at 12:31 PM, Petr Viktorin wrote: >> >> Hello, >> Over at Python-ideas, there is a thread [0] about the following >> discrepancy: >> >> >&g

[Numpy-discussion] float('inf') // 1 = ?

2014-09-18 Thread Petr Viktorin
be very nice if either Python or Numpy changed, so they would give the same value. If any of you have reasons to defend Numpy's (or Python's) choice, or otherwise want to chime in, please post there. Thanks, Petr Viktorin [0] https://mail.python.org/p

[Numpy-discussion] (no subject)

2014-09-18 Thread Petr Viktorin
so they would give the same value. If any of you have reasons to defend Numpy's (or Python's) choice, or otherwise want to chime in, please post there. Thanks, Petr Viktorin [0] https://mail.python.org/pipermail/python-ideas/2014-September/029365.html ___