Message409534
longobject.c's x_mul()'s special code for squaring gets kind of sloppy at the end of a digit pass, doing a useless add of 0 and an "extra" test for carry. Easily cleaned up.
I think the underlying cause is that the HAC algorithm description it was modeled on was quite "hand wavy" about how badly, and exactly when, the carry can exceed a single digit. Things are better-behaved at the end of a digit pass. |
|
Date |
User |
Action |
Args |
2022-01-02 22:48:26 | tim.peters | set | recipients:
+ tim.peters |
2022-01-02 22:48:26 | tim.peters | set | messageid: <1641163706.78.0.392911165646.issue46233@roundup.psfhosted.org> |
2022-01-02 22:48:26 | tim.peters | link | issue46233 messages |
2022-01-02 22:48:26 | tim.peters | create | |
|