Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #74298 > unrolled thread

Re: NaN comparisons - Call For Anecdotes

Started byMRAB <python@mrabarnett.plus.com>
First post2014-07-10 12:28 +0100
Last post2014-07-10 12:28 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: NaN comparisons - Call For Anecdotes MRAB <python@mrabarnett.plus.com> - 2014-07-10 12:28 +0100

#74298 — Re: NaN comparisons - Call For Anecdotes

FromMRAB <python@mrabarnett.plus.com>
Date2014-07-10 12:28 +0100
SubjectRe: NaN comparisons - Call For Anecdotes
Message-ID<mailman.11723.1404991700.18130.python-list@python.org>
On 2014-07-10 01:57, Ben Finney wrote:
> "Anders J. Munch" <2014@jmunch.dk> writes:
>
>> Joel Goldstick wrote:
>> > I've been following along here, and it seems you haven't received
>> > the answer you want or need.
>>
>> So far I received exactly the answer I was expecting. 0 examples of
>> NaN!=NaN being beneficial.
>
> Predictability and ease of diagnosis are the principles at work
> <URL:http://stackoverflow.com/a/1573715/70157>. You have already
> received examples of those.
>
> If those don't convince you of its usefulness, that's unfortunate, but
> at this point you are demonstrating a standard which is both
> unreasonably high (even the rationale of the committee doesn't convince
> you) and unreasonably low (you ask not for explanations but personal
> anecdotes).
>
> Good luck to you in your quest.
>
I can think of one place where equality of NaNs would be useful:
sorting.

However, in that use-case, you would also want it to be orderable,
perhaps greater than any other non-NaN float.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web