[Python-ideas] PEP 485: A Function for testing approximate equality (original) (raw)
Chris Barker - NOAA Federal chris.barker at noaa.gov
Fri Feb 6 16:55:06 CET 2015
- Previous message: [Python-ideas] PEP 485: A Function for testing approximate equality
- Next message: [Python-ideas] PEP 485: A Function for testing approximate equality
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Right, by default it degrades to exact equality when one of the operands is zero, just as it will degrade to exact equality when the relative tolerance is set to zero. This should probably be stated explicitly in the PEP,
Will do.
- Chris
- Previous message: [Python-ideas] PEP 485: A Function for testing approximate equality
- Next message: [Python-ideas] PEP 485: A Function for testing approximate equality
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]