Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!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.037 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'definitions': 0.07; 'differing': 0.09; '"should"': 0.16; '5:00': 0.16; 'defined,': 0.16; 'holy': 0.16; 'infinity': 0.16; 'mathematics.': 0.16; 'nonnegative': 0.16; 'real.': 0.16; 'url:shtml': 0.16; 'wrote:': 0.18; 'thu,': 0.19; '>>>': 0.22; 'options': 0.25; '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; 'noted': 0.31; 'though.': 0.31; 'url:wikipedia': 0.31; 'lists': 0.32; 'could': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'possible': 0.36; 'url:org': 0.36; 'positive': 0.37; 'being': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'subject:': 0.39; 'to:addr:python.org': 0.39; 'ian': 0.60; 'between': 0.67; 'limit': 0.70; 'opinions': 0.70; 'jul': 0.74; 'article': 0.77; '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=jedhGhlUdMqvL0VhiWJIpsnValGXlWgveomWbpIw59g=; b=REouoJDe1oNimV0b3nn0gnuyKHYF/QQLzPUDUaTClrFjxDCyZy3yaPWUgOw2sNs8hM cK6v+68HeQ06oo9AY9bJlCNlY8ahnbtBRQvanAKHDxeE0ktReb5fkGL4OVnfpVsy4E4u rAYyDkXzCiq8btIIPLOMIvAMjc0J7Txp9tslUmM04oFXPCvxfNyD9g43hKtIu4LwK5Dh OfQT/0eQXk64/2eB4L0CQjb320KLXaOp/12pG0b3smobkLboCb2kUMgdzFDRkla7X+i5 LFqoi8hpcIG4ErISo0MBzm0fSqLNwbcXfP9jIT8TUWhOg9QkudvJJDL6wanmouBmhOEh 5oEQ== X-Received: by 10.70.54.162 with SMTP id k2mr481923pdp.138.1405638498208; Thu, 17 Jul 2014 16:08:18 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: 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:07:38 -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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1405638500 news.xs4all.nl 2910 [2001:888:2000:d::a6]:40509 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:74700 On Thu, Jul 17, 2014 at 5:00 PM, Ian Kelly wrote: > 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. Incidentally, as noted in the Wikipedia article you left out some options -- it's not just between 0 or 1. It's also possible to derive a limit of positive infinity or any nonnegative real.