Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed1.swip.net!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!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.051 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; 'definitions': 0.07; 'differing': 0.09; '"should"': 0.16; 'defined,': 0.16; 'holy': 0.16; 'mathematics.': 0.16; 'url:shtml': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'url:edu': 0.26; 'defined': 0.27; 'header:In-Reply- To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'url:wiki': 0.31; 'usually': 0.31; 'though.': 0.31; 'url:wikipedia': 0.31; 'lists': 0.32; 'could': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'url:org': 0.36; 'being': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'subject:': 0.39; 'to:addr:python.org': 0.39; 'ian': 0.60; 'opinions': 0.70; 'jul': 0.74; 'subject:For': 0.78; 'keeper': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=LyY1FsQGGxsUqEssDGE7TpbIX5wOK/osbwiPkKu0l7M=; b=eD8wRTYCDpLJrg5GVeWmDeBeQJv3gMaVwXWDfP4mOWtI/JzkgzsF3nlPGX3s2nevtj qBFdvHC1+zJ6gnKuPY9fdHZNa8xwc2/iKwzctpffMKRpfe/dPx/UyGUiGMZVk5Xcfqsf qR626I4Feiog8IcNlwz4q7q6mKGuiBQtPg6gJ3fFh9356+4SlOu/8v5LalLD8Tjf3U35 FyQfWK3EqSAzqrf1lb4hOVOHmuHx1OW/JLS0IVMtPazxtYuG1xbk2WaKSPKBFf2yMWGb 8Dfet87IwdpW2bDXz7AwnKMjdkEZ3CiaQC/KS3qbi338NdYo/wP3nn5+MCsXHybhrr5s 0gLg== X-Received: by 10.70.35.43 with SMTP id e11mr554470pdj.10.1405638086121; Thu, 17 Jul 2014 16:01:26 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <87tx6fzob1.fsf@elektro.pacujo.net> References: <53BC05FB.4050707@jmunch.dk> <53BD70F4.4000504@stoneleaf.us> <53BDAF90.8010709@jmunch.dk> <877g3b244v.fsf@elektro.pacujo.net> <87tx6fzob1.fsf@elektro.pacujo.net> From: Ian Kelly Date: Thu, 17 Jul 2014 17:00:44 -0600 Subject: Re: NaN comparisons - Call For Anecdotes To: Python 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1405638089 news.xs4all.nl 2837 [2001:888:2000:d::a6]:37798 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:74699 On Thu, Jul 17, 2014 at 3:08 PM, Marko Rauhamaa wrote: > Ian Kelly : > >> Well, 0**0 is usually defined as 1, despite the limits being >> ambiguous. > > > > But if it could be defined, what "should" it be? 0 or 1? I did say "usually". There's not one single Holy Keeper of the Definitions for mathematics. Wikipedia lists some differing opinions on the subject: http://en.wikipedia.org/wiki/Exponentiation#Zero_to_the_power_of_zero I note that mathworld.wolfram.com also lists it as undefined, though.