Message135579
One other thought: we should check that it's not pow that's at fault here, rather than log2. The test uses math.log2(2.0**n). It would probably be better off using math.log2(ldexp(1.0, n)), or similar: the libm pow operation is also notorious for inaccuracies (due to poor implementations or otherwise) on various platforms. |
|
Date |
User |
Action |
Args |
2011-05-09 12:20:14 | mark.dickinson | set | recipients:
+ mark.dickinson, rhettinger, jcea, vstinner, python-dev |
2011-05-09 12:20:14 | mark.dickinson | set | messageid: <1304943614.01.0.622149155623.issue11888@psf.upfronthosting.co.za> |
2011-05-09 12:20:12 | mark.dickinson | link | issue11888 messages |
2011-05-09 12:20:12 | mark.dickinson | create | |
|