Message361538
> Of course the result is exactly 2. Which I have enough RAM to hold ;-)
You might think so, but if you write it as 2.00...0 with
>>> decimal.MAX_PREC
999999999999999999
zeros, I think you're overestimating your RAM capacity. :-P
Now, what is the exact significance of MAX_PREC, I don't know. But I guess some hard limits were needed for standards compliance, and Python didn't want to limit you there. Of course, same as with recursionlimit, it might be better to actually have some reasonable _lower_ limit that we know is actually safe. |
|
Date |
User |
Action |
Args |
2020-02-07 06:44:43 | veky | set | recipients:
+ veky, tim.peters, BTaskaya |
2020-02-07 06:44:43 | veky | set | messageid: <1581057883.55.0.638702816373.issue39576@roundup.psfhosted.org> |
2020-02-07 06:44:43 | veky | link | issue39576 messages |
2020-02-07 06:44:43 | veky | create | |
|