Message344777
Thank you for the detailed report. So, in an attempt to summarize,
this is the crucial passage:
>>> ideal_exp = -1
>>> exp = -29
>>> coeff = 150000000000000000000000000000
>>> division_counter = 0
>>> while exp < ideal_exp and coeff % 10 == 0:
... coeff //= 10
... exp += 1
... division_counter += 1
...
>>> coeff
15L
>>> exp
-1
>>> division_counter
28
But you sometimes get coeff==150 and division_counter==27 instead.
Is that correct?
The first thing to consider is whether Alpine Linux uses a patched
Python version or if you can reproduce this on Python 2.7.15 compiled
from source. |
|
Date |
User |
Action |
Args |
2019-06-05 23:02:40 | skrah | set | recipients:
+ skrah, rhettinger, facundobatista, mark.dickinson, Phil Frost |
2019-06-05 23:02:40 | skrah | set | messageid: <1559775760.83.0.498403283445.issue37168@roundup.psfhosted.org> |
2019-06-05 23:02:40 | skrah | link | issue37168 messages |
2019-06-05 23:02:40 | skrah | create | |
|