Mark Dickinson <dicki...@gmail.com> added the comment:

There were two incorrect tests in float_pow_testcases.patch:

+            self.assertEqualAndEqualSign(pow_op(-INF, -0.5), -0.0)
+            self.assertEqualAndEqualSign(pow_op(-INF, -2.0), -0.0)

these should both have had 0.0 in place of -0.0.  Here are corrected and 
slightly expanded tests;  I've also fixed an incorrect doctest (0**nan 
should be nan, not 0) in Lib/test/ieee754.txt.

----------
Added file: http://bugs.python.org/file15610/float_pow_testcases2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7534>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to