Message398338
This is a good idea for languages where integers are bounded, but in Python, integers can be as large as you want, so there's no reason to worry about overflow:
>>> lo = 1 * 10**100
>>> hi = 2 * 10**100
>>> (lo + hi) // 2
15000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
|
Date |
User |
Action |
Args |
2021-07-28 01:21:40 | Dennis Sweeney | set | recipients:
+ Dennis Sweeney, David.Duffy |
2021-07-28 01:21:40 | Dennis Sweeney | set | messageid: <1627435300.61.0.49526751978.issue44755@roundup.psfhosted.org> |
2021-07-28 01:21:40 | Dennis Sweeney | link | issue44755 messages |
2021-07-28 01:21:40 | Dennis Sweeney | create | |
|