This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients mark.dickinson, martin.panter, rhettinger, steven.daprano, tim.peters
Date 2016-08-14.10:52:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> - finally, compare the epsilons abs(y**n - x) for the initial guess
>   and improved version, returning whichever gives the smaller epsilon.
> So I'm confident that nth_root() should never be worse than pow().

Same deal here: those aren't the actual errors; they're approximations to the errors, since the computations of the epsilons depends on (a) the usual floating-point rounding, and more significantly (b) the accuracy of the `y**n` computation. It's entirely possible that the value giving the smaller epsilon is actually the worse of the two approximations.
Date User Action Args
2016-08-14 10:52:42mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, rhettinger, steven.daprano, martin.panter
2016-08-14 10:52:42mark.dickinsonsetmessageid: <>
2016-08-14 10:52:42mark.dickinsonlinkissue27761 messages
2016-08-14 10:52:42mark.dickinsoncreate