Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!news.glorb.com!news.astraweb.com!border6.newsrouter.astraweb.com!not-for-mail From: Ben Finney Newsgroups: comp.lang.python Subject: Re: float("nan") in set or as key References: <7d1ad033-b412-4ccb-8e7f-d5ef151e6804@glegroupsg2000goo.googlegroups.com> <4de9ba8b$0$29996$c3e8da3$5496439d@news.astraweb.com> <4de9fc6b$0$29996$c3e8da3$5496439d@news.astraweb.com> X-Public-Key-ID: 0xAC128405 X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-pubkey.asc X-Post-From: Ben Finney Date: Sat, 04 Jun 2011 20:20:19 +1000 Message-ID: <87fwnp5258.fsf@benfinney.id.au> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:uPlXGat4z2llXnPTqShjUDjzpx8= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Lines: 16 Organization: Unlimited download news at news.astraweb.com NNTP-Posting-Host: 971f29ed.news.astraweb.com X-Trace: DXC=02YT8kd^`e?6fPZ:J:\J][jolac=UGD@iN[Hd??n\H8hj6CGf1 Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:7003 Steven D'Aprano writes: > What makes you think that Python supports IEEE-754 for floats? That would be an easy impression to get from this long rambling thread. The argument that Python's ‘float’ type is not meant to be anything *but* an IEEE 754 floating point type has been made several times. What would you say Python's ‘float’ type is intended to be, if not an IEEE 754 floating point type? -- \ “Most people, I think, don't even know what a rootkit is, so | `\ why should they care about it?” —Thomas Hesse, Sony BMG, 2006 | _o__) | Ben Finney