On Wed, Apr 27, 2011 at 5:28 AM, Senthil Kumaran <sent...@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. _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers