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 <rep...@bugs.python.org> <https://bugs.python.org/issue27761> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com