Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #83436
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.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.059 |
| X-Spam-Evidence | '*H*': 0.88; '*S*': 0.00; 'cc:addr:python-list': 0.11; 'jan': 0.12; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'instead:': 0.16; 'sequence:': 0.16; 'yay': 0.16; 'zeroes': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'result.': 0.19; 'work,': 0.20; 'example': 0.22; 'saying': 0.22; 'cc:addr:python.org': 0.22; 'fairly': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'work.': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'subject:numbers': 0.31; 'subject:other': 0.31; 'becomes': 0.33; 'fri,': 0.33; 'could': 0.34; 'beyond': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'pm,': 0.38; 'does': 0.39; 'simply': 0.61; "you're": 0.61; 'first': 0.61; 'effectively': 0.66; 'therefore': 0.72; 'obvious': 0.74; 'special': 0.74; '2015': 0.84; 'multiplying': 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=Ue2ZDFvWPAMwgW2KhtaNeK8HvX0S4TomOPf9ofm5eBw=; b=IkmA75HnButNr6XBmW5VD96I9Kjo/DDG9nDoFsyQyN1+x7XHZRRwzToXh29J/gAFbw FR8PFr9+Bgh/KfmLKKgWcM9DhrDCgwlc1rkRBKF6X+0WzmyTnWVJpbhA9qmgkyLUrDf8 BKhH+KIGbcl26uRmlg/7O3+Ni0UzI8lM+X18PadbV8LYD4AFQFJVDHrXCOahM+iMk79/ TImdI0ULHLu3NVxDeJlGQQNCAIZJxAhWiPC6aXnP2OPTOPrWd+yNoUBcpMoDrRf9fWKc dQACYBv00ta3Y4DeScsvJtBv7duXbww2v3Jk0/C6sEIIUlbEJ7FaqKg/tQ2BDOLqR3+x mmQg== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.62.104 with SMTP id x8mr2139018igr.2.1420806863663; Fri, 09 Jan 2015 04:34:23 -0800 (PST) |
| In-Reply-To | <54afc884$0$12985$c3e8da3$5496439d@news.astraweb.com> |
| References | <CABicbJK-5izGtet8BsS1Yqx+6AHMX7gLU4zYjjt5jULJXNVipA@mail.gmail.com> <54AF405C.6020609@davea.name> <mailman.17501.1420772593.18130.python-list@python.org> <54af9612$0$12995$c3e8da3$5496439d@news.astraweb.com> <mailman.17513.1420793970.18130.python-list@python.org> <54afab5d$0$12976$c3e8da3$5496439d@news.astraweb.com> <mailman.17516.1420799984.18130.python-list@python.org> <54afc884$0$12985$c3e8da3$5496439d@news.astraweb.com> |
| Date | Fri, 9 Jan 2015 23:34:23 +1100 |
| Subject | Re: Decimals and other numbers |
| 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.17523.1420806865.18130.python-list@python.org> (permalink) |
| Lines | 33 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1420806865 news.xs4all.nl 2848 [2001:888:2000:d::a6]:48624 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:83436 |
Show key headers only | View raw
On Fri, Jan 9, 2015 at 11:24 PM, Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote: >> 5 * 0 * 0 * 0 * 0 = 0 > > Where did the 5 come from? > > You're effectively saying that 0**0 becomes 5*0**0, then cancelling the 0**0 > because they're all zeroes and so don't matter, leaving 5. And that simply > doesn't work. If it did work, there's nothing special about 5, we could use > 18 instead: > > 0**0 = 5*0**0 => 5 > > but 0**0 = 18*0**0 => 18 > therefore 5 = 18. > > Yay maths! :-) To clarify, I'm following this sequence: 5 * 0**4 = 5 * 0 * 0 * 0 * 0 = 0 5 * 0**3 = 5 * 0 * 0 * 0 = 0 5 * 0**2 = 5 * 0 * 0 = 0 5 * 0**1 = 5 * 0 = 0 5 * 0**0 = 5 = ? Multiplication by zero is idempotent; any number of multiplications beyond the first won't change the result. But that doesn't mean that never multiplying by zero will have the same result. I think it's fairly obvious in this example that the pattern does NOT continue to the case where you're multiplying in no zeroes. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Decimals and other numbers Devin Jeanpierre <jeanpierreda@gmail.com> - 2015-01-08 19:02 -0800
Re: Decimals and other numbers Marko Rauhamaa <marko@pacujo.net> - 2015-01-09 09:28 +0200
Re: Decimals and other numbers Chris Angelico <rosuav@gmail.com> - 2015-01-09 18:37 +1100
Re: Decimals and other numbers Marko Rauhamaa <marko@pacujo.net> - 2015-01-09 11:31 +0200
Re: Decimals and other numbers Dave Angel <davea@davea.name> - 2015-01-09 02:49 -0500
Re: Decimals and other numbers Devin Jeanpierre <jeanpierreda@gmail.com> - 2015-01-09 00:51 -0800
Re: Decimals and other numbers Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2015-01-09 11:07 +0200
[OT] x**y == y**x Peter Pearson <pkpearson@nowhere.invalid> - 2015-01-09 17:46 +0000
Re: [OT] x**y == y**x Marko Rauhamaa <marko@pacujo.net> - 2015-01-09 23:41 +0200
Re: [OT] x**y == y**x Peter Pearson <pkpearson@nowhere.invalid> - 2015-01-10 16:57 +0000
Re: Decimals and other numbers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-01-09 19:49 +1100
Re: Decimals and other numbers Devin Jeanpierre <jeanpierreda@gmail.com> - 2015-01-09 00:58 -0800
Re: Decimals and other numbers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-01-09 21:20 +1100
Re: Decimals and other numbers Chris Angelico <rosuav@gmail.com> - 2015-01-09 21:39 +1100
Re: Decimals and other numbers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-01-09 23:24 +1100
Re: Decimals and other numbers Chris Angelico <rosuav@gmail.com> - 2015-01-09 23:34 +1100
Re: Decimals and other numbers Devin Jeanpierre <jeanpierreda@gmail.com> - 2015-01-09 17:25 -0800
Re: Decimals and other numbers Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2015-01-10 16:08 +1300
Re: Decimals and other numbers Devin Jeanpierre <jeanpierreda@gmail.com> - 2015-01-09 01:11 -0800
Re: Decimals and other numbers Marko Rauhamaa <marko@pacujo.net> - 2015-01-09 11:34 +0200
Re: Decimals and other numbers Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-01-09 22:03 +1100
Re: Decimals and other numbers Marko Rauhamaa <marko@pacujo.net> - 2015-01-09 11:44 +0200
Re: Decimals and other numbers Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2015-01-10 16:05 +1300
Re: Decimals and other numbers Devin Jeanpierre <jeanpierreda@gmail.com> - 2015-01-09 19:57 -0800
csiph-web