Message289751
Thank you Oren, but your code doesn't work when PY_SSIZE_T_MAX < b < PY_SSIZE_T_MAX * PyLong_SHIFT and a > 2 ** b. When you drop wordshift and left only loshift_d you should drop lower wordshift digits in a.
The code for left shift would be even more complex. |
|
Date |
User |
Action |
Args |
2017-03-17 09:36:10 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mark.dickinson, vstinner, Oren Milman |
2017-03-17 09:36:10 | serhiy.storchaka | set | messageid: <1489743370.42.0.369895815659.issue29816@psf.upfronthosting.co.za> |
2017-03-17 09:36:10 | serhiy.storchaka | link | issue29816 messages |
2017-03-17 09:36:10 | serhiy.storchaka | create | |
|