Message96620
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. |
|
Date |
User |
Action |
Args |
2009-12-19 17:37:42 | mark.dickinson | set | recipients:
+ mark.dickinson, tim.peters, ezio.melotti, mdonolo |
2009-12-19 17:37:41 | mark.dickinson | set | messageid: <1261244261.96.0.0426197766183.issue7534@psf.upfronthosting.co.za> |
2009-12-19 17:37:40 | mark.dickinson | link | issue7534 messages |
2009-12-19 17:37:40 | mark.dickinson | create | |
|