Message408952
> we can get faster code by using a small (3Kb) table of factorial logarithms
The problem here is that C gives no guarantees about accuracy of either log2 or exp2, so we'd be playing a guessing game about how far we can go before the calculation becomes unsafe (in the sense of the `round` operation potentially giving the wrong answer). I think it would be better to stick to integer-only arithmetic. |
|
Date |
User |
Action |
Args |
2021-12-20 10:56:22 | mark.dickinson | set | recipients:
+ mark.dickinson, tim.peters, rhettinger, serhiy.storchaka, PedanticHacker, mcognetta, Stefan Pochmann, pablogsal |
2021-12-20 10:56:22 | mark.dickinson | set | messageid: <1639997782.13.0.266731772465.issue37295@roundup.psfhosted.org> |
2021-12-20 10:56:22 | mark.dickinson | link | issue37295 messages |
2021-12-20 10:56:21 | mark.dickinson | create | |
|