[Python-ideas] PEP 485: A Function for testing approximate equality
Ethan Furman
ethan at stoneleaf.us
Fri Jan 23 01:59:21 CET 2015
On 01/22/2015 04:40 PM, Chris Barker wrote:
>
> After much discussion on this list, I have written up a PEP, and it is ready
> for review (see below)
Thanks! Very nice.
> It is using an asymmetric test
Good - Ron convinced me that was the better way
> However, as this approach is not symmetric, a may be within 10% of b,
> but b is not within x% of a. Consider the case::
Instead of x%, how about 10% ? ;)
--
~Ethan~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150122/f6546683/attachment.sig>
More information about the Python-ideas
mailing list