[Python-ideas] Fwd: Re: PEP 485: A Function for testing approximate equality (original) (raw)
Mark Young marky1991 at gmail.com
Tue Feb 17 19🔞07 CET 2015
- Previous message: [Python-ideas] Fwd: Re: PEP 485: A Function for testing approximate equality
- Next message: [Python-ideas] Fwd: Re: PEP 485: A Function for testing approximate equality
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message: [Python-ideas] Fwd: Re: PEP 485: A Function for testing approximate equality
- Next message: [Python-ideas] Fwd: Re: PEP 485: A Function for testing approximate equality
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]