[Numpy-discussion] float('inf') // 1 = ?
encukou at gmail.com
Thu Sep 18 12:34:23 EDT 2014
(Apologies for the lack of subject earlier)
Over at Python-ideas, there is a thread  about the following discrepancy:
>>> numpy.array(float('inf')) // 1
>>> float('inf') // 1
There are reasons for either result, but I believe it would be very
nice if either Python or Numpy changed, so they would give the same
If any of you have reasons to defend Numpy's (or Python's) choice, or
otherwise want to chime in, please post there.
More information about the NumPy-Discussion