Message273739
I mean a Python long. GMP mpz (via gmpy2) is supposed to be "drop-in" replacement, but it's choice to handle 0 << N even if N is too large to allocate (since you get back a 1-bit number, 0) seems reasonable, if not required for correct behavior. If this is by design, it seems reasonable (if the zero check is considered too expensive, for example). |
|
Date |
User |
Action |
Args |
2016-08-26 21:54:46 | Alex Groce | set | recipients:
+ Alex Groce, r.david.murray |
2016-08-26 21:54:46 | Alex Groce | set | messageid: <1472248486.41.0.35367355522.issue27870@psf.upfronthosting.co.za> |
2016-08-26 21:54:46 | Alex Groce | link | issue27870 messages |
2016-08-26 21:54:46 | Alex Groce | create | |
|