[Python-ideas] Way to check for floating point "closeness"?
Chris Barker
chris.barker at noaa.gov
Tue Jan 13 02:22:09 CET 2015
On Mon, Jan 12, 2015 at 4:26 PM, Andrew Barnert <abarnert at yahoo.com> wrote:
> But I think the unavoidable ambiguity of cmath.inf argues against having
> cmath.nan.
>
agreed.
we already need to spell -inf: -math.inf, so the four possible complex
infs can be built up similarly.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
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...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150112/2c7060e1/attachment.html>
More information about the Python-ideas
mailing list