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: 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: <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 Cc: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Wed, Jul 9, 2014 at 3:13 AM, Steven D'Aprano 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