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


Groups > comp.lang.python > #74187

Re: NaN comparisons - Call For Anecdotes

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.076
X-Spam-Evidence '*H*': 0.85; '*S*': 0.01; 'explicitly': 0.05; 'oh,': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'nans': 0.16; 'reason.': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'cc:addr:python.org': 0.22; 'specify': 0.24; 'cc:2**0': 0.24; 'skip:" 20': 0.27; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'that.': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'stuff': 0.32; 'no,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'read': 0.60; 'world.': 0.61; "you're": 0.61; "you've": 0.63; 'url:co': 0.67; 'jul': 0.74; 'subject:For': 0.78; 'confusing': 0.84; 'people"': 0.84; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=Lx4kA84LO7h3/jcOjLHmVZ5SsnEfp87qCq4lyaXGh+M=; b=HoTH6mmNWdJihAY9JXzabgYD4rUyb0mUzLTxZsU5aH+Pj4GURS9vJodYsN+pFHM2zM RpSKirHxdfKtP7lyKP9Bx/7qRuIFI4Qob5zpYnh6pqsNHt14LrLJEC7KdIZi0uhLrAPM jW48Fd8b+8/engw+mj3Vs+berf8mQryKdOuPWmPg/0YQdaGi3oATC4zlx+m8Lk0bNLtX fTcU76LcxB5Nt8LQ/1J+hmeKLopwIxo0jQhdRoGicfXw32YxCiDD2RwybBJkot+00GJ7 VizQCVmHEs89Xix1EyG4BwTxEkjnfsvqVkbHlIGHUdcTJ8KL4KAue3v4RzKEJlOrM4aq Bc/A==
MIME-Version 1.0
X-Received by 10.58.207.33 with SMTP id lt1mr1337786vec.63.1404840081580; Tue, 08 Jul 2014 10:21:21 -0700 (PDT)
In-Reply-To <53bc26ca$0$29995$c3e8da3$5496439d@news.astraweb.com>
References <mailman.11626.1404831235.18130.python-list@python.org> <53bc26ca$0$29995$c3e8da3$5496439d@news.astraweb.com>
Date Wed, 9 Jul 2014 03:21:21 +1000
Subject Re: NaN comparisons - Call For Anecdotes
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.11643.1404840084.18130.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1404840084 news.xs4all.nl 2913 [2001:888:2000:d::a6]:44352
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:74187

Show key headers only | View raw


On Wed, Jul 9, 2014 at 3:13 AM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
>> Now, all this bothers me.  Not that I had to do some work to get stuff
>> to work in an imperfect world.  No, what bothers me is that this
>> behaviour was explicitly and deliberately put in for no good reason.
>
> Oh, you've read the IEEE-754 standard, and that's what it says? "We're
> going to specify this behaviour for NANs just to annoy people" perhaps?

You're confusing IEEE with Adobe. IEEE is pronounced
"Aiiiiieeeeeeeeeeeeeeee!", but it's Adobe that makes people scream
that.

http://www.theregister.co.uk/2009/04/30/xee_photoshop_psd_code_rant/

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

NaN comparisons - Call For Anecdotes "Anders J. Munch" <2014@jmunch.dk> - 2014-07-08 16:53 +0200
  Re: NaN comparisons - Call For Anecdotes Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-07-08 17:13 +0000
    Re: NaN comparisons - Call For Anecdotes Chris Angelico <rosuav@gmail.com> - 2014-07-09 03:21 +1000
    Re: NaN comparisons - Call For Anecdotes "Anders J. Munch" <2014@jmunch.dk> - 2014-07-08 21:02 +0200
      Re: NaN comparisons - Call For Anecdotes Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-07-09 00:10 +0000
        Re: NaN comparisons - Call For Anecdotes Terry Reedy <tjreedy@udel.edu> - 2014-07-09 00:57 -0400
          Re: NaN comparisons - Call For Anecdotes Steven D'Aprano <steve@pearwood.info> - 2014-07-09 06:43 +0000
            Re: NaN comparisons - Call For Anecdotes Chris Angelico <rosuav@gmail.com> - 2014-07-09 16:52 +1000
        Re: NaN comparisons - Call For Anecdotes "Anders J. Munch" <2014@jmunch.dk> - 2014-07-09 17:08 +0200
          Re: NaN comparisons - Call For Anecdotes Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-07-09 16:53 +0000
            Re: NaN comparisons - Call For Anecdotes Ian Kelly <ian.g.kelly@gmail.com> - 2014-07-09 11:26 -0600
            Re: NaN comparisons - Call For Anecdotes "Anders J. Munch" <2014@jmunch.dk> - 2014-07-09 19:44 +0200
        Re: NaN comparisons - Call For Anecdotes Chris Angelico <rosuav@gmail.com> - 2014-07-10 01:13 +1000
        Re: NaN comparisons - Call For Anecdotes "Anders J. Munch" <2014@jmunch.dk> - 2014-07-09 18:24 +0200
    Re: NaN comparisons - Call For Anecdotes "Anders J. Munch" <2014@jmunch.dk> - 2014-07-08 21:25 +0200
  Re: NaN comparisons - Call For Anecdotes Rustom Mody <rustompmody@gmail.com> - 2014-07-09 20:07 -0700

csiph-web