Message74734
Note that log2(int) -> float wouldn't entirely replace
numbits, due to loss of precision in the result.
e.g. log2(2**100), log2(2**100+1) and log2(2**100-1) would likely all
return exactly the same result (100.0), where numbits wants results of
101, 101 and 100 respectively. |
|
Date |
User |
Action |
Args |
2008-10-14 11:59:06 | mark.dickinson | set | recipients:
+ mark.dickinson, rhettinger, vstinner, segfaulthunter |
2008-10-14 11:59:06 | mark.dickinson | set | messageid: <1223985546.73.0.28363116671.issue3724@psf.upfronthosting.co.za> |
2008-10-14 11:59:06 | mark.dickinson | link | issue3724 messages |
2008-10-14 11:59:05 | mark.dickinson | create | |
|