[BangPypers] New bug

kaushik kalyanaraman dialkforkaushik at gmail.com
Wed Apr 27 17:05:33 CEST 2011


On Wed, Apr 27, 2011 at 5:28 AM, Senthil Kumaran <senthil at uthcode.com> wrote:

> The second line is bit confusing, because the way to check for nan is
> usually via math.isnan.  The report says that identity comparison is
> not done in containers that may be the bug.
I believe that the second-line behavior is the bug since the first one
is correct from a math point of view.

> There are various quirks with nan,inf and -0 and +0's that most often
> is amusing. :)
And, perhaps usually indicates non-conformance to IEEE 754! :-)

-Kaushik

-- 
To know that we know what we know, and that we do not know what we do
not know, that is true knowledge.


More information about the BangPypers mailing list