[issue27761] Private _nth_root function loses accuracy

STINNER Victor report at bugs.python.org
Sun Aug 28 09:11:29 EDT 2016


STINNER Victor added the comment:

Hum, "g = D(x**(1.0/n))" computes a float and then convert it to a decimal,
right?

Can we please add comments to explain why you start with float, compute
decimal and finish with float?

And maybe also document the algorithm?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27761>
_______________________________________


More information about the Python-bugs-list mailing list