[Python-ideas] Way to check for floating point "closeness"?
Chris Barker - NOAA Federal
chris.barker at noaa.gov
Fri Jan 16 01:25:27 CET 2015
> On Jan 15, 2015, at 4:22 PM, Ron Adam <ron3200 at gmail.com> wrote
> Actually the problem is with numbers of different signs. The idea of normalising them in some way only works partially, and it doesn't fit mathematically.
> It seems to me if the signs are different, then relatively speaking, they are always far apart.
Just like any number is relatively far from zero.
> Python-ideas mailing list
> Python-ideas at python.org
> Code of Conduct: http://python.org/psf/codeofconduct/
More information about the Python-ideas