[Python-ideas] Floating point "closeness" Proposal Outline
chris.barker at noaa.gov
Tue Jan 20 18:32:04 CET 2015
On Mon, Jan 19, 2015 at 8:10 PM, Neil Girdhar <mistersheik at gmail.com> wrote:
> If you decide to make a PEP, please list the other algorithms you found
> and their definitions.
sure -- care to contribute ;-)
> Personally, I'm for being consistent with numpy and defining math.isclose
> similar to numpy.isclose for consistency alone.
This is a good question for the larger, non-numpy group. I'm personally a
heavy numpy user, and don't see any reason to be consistent -- and I (and
others on this list) have some real issues with the numpy approach. But we
shouldn't call it isclose() if it's not the same algorithm...
Christopher Barker, Ph.D.
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas