[issue39576] Surprising MemoryError in `decimal` with MAX_PREC
Vedran Čačić
report at bugs.python.org
Thu Feb 20 20:57:08 EST 2020
Vedran Čačić <vedgar at gmail.com> added the comment:
Hm... is "exact result" a technical term that's defined somewhere? Because to me it seems that this
> "If there exists an exact result at a lower precision, this
result should also be returned at MAX_PREC (without MemoryError)".
is a mathematical statement, and surely for Decimal('0.07776') ** Decimal('0.2') _there exists_ an exact result at a lower precision. Maybe this should be reworded as "If there exists ... _and an implementation knows about it_, it should also be returned ..."
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39576>
_______________________________________
More information about the Python-bugs-list
mailing list