Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #6616
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: float("nan") in set or as key |
| Date | 2011-05-29 20:36 -0700 |
| Organization | > Bestiaria Support Staff < |
| References | (2 earlier) <irsarj$2b9$1@reader1.panix.com> <mailman.2215.1306657864.9059.python-list@python.org> <irtlu8$qk3$1@reader1.panix.com> <4DE285E8.4080801@mrabarnett.plus.com> <BANLkTikK9_nv_y4QE5YGbCuMjQysw7ufNw@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2250.1306726601.9059.python-list@python.org> (permalink) |
On Mon, 30 May 2011 03:50:15 +1000, Chris Angelico <rosuav@gmail.com>
declaimed the following in gmane.comp.python.general:
>
> Doesn't matter. It still wouldn't be equal to itself, even though it
> 'is' itself, which will greatly confuse anything that optimizes that
> away. Numbers are well-behaved; NaN is not a number; NaN is not
> well-behaved. It makes sense... in a way.
As I recall, NaN behaves just like Null does in SQL... Null never
compares equal to Null.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: float("nan") in set or as key Albert Hopkins <marduk@letterboxes.org> - 2011-05-28 20:28 -0400
Re: float("nan") in set or as key Erik Max Francis <max@alcyone.com> - 2011-05-28 17:44 -0700
Re: float("nan") in set or as key Grant Edwards <invalid@invalid.invalid> - 2011-05-29 02:25 +0000
Re: float("nan") in set or as key Wolfgang Rohdewald <wolfgang@rohdewald.de> - 2011-05-29 10:27 +0200
Re: float("nan") in set or as key Grant Edwards <invalid@invalid.invalid> - 2011-05-29 14:41 +0000
Re: float("nan") in set or as key MRAB <python@mrabarnett.plus.com> - 2011-05-29 18:44 +0100
Re: float("nan") in set or as key Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-29 18:27 +0000
Re: float("nan") in set or as key Chris Angelico <rosuav@gmail.com> - 2011-05-30 03:50 +1000
Re: float("nan") in set or as key Christian Heimes <lists@cheimes.de> - 2011-05-29 20:05 +0200
Re: float("nan") in set or as key Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-29 18:46 +0000
Re: float("nan") in set or as key Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-05-29 20:36 -0700
csiph-web