[Python-ideas] Fwd: Re: PEP 485: A Function for testing approximate equality

Mark Young marky1991 at gmail.com
Tue Feb 17 19:18:07 CET 2015


I don't have a real-world use case other than that sounds like something I
would do with a function called is_close. I don't think we get much of
anything (Except saving a few characters wen you want to define your
tolerance with respect to significant digits) by forcing the error
tolerances to be a power of ten. (And passing tolerance=math.log(X) is
awful api design)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150217/435a8ef1/attachment.html>


More information about the Python-ideas mailing list