Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Ethan Furman Newsgroups: comp.lang.python Subject: Re: What is precision of a number representation? Date: Mon, 11 Jul 2016 14:22:03 -0700 Lines: 26 Message-ID: References: <834b1cce-38dd-474c-8915-4ff1cd6b27ec@googlegroups.com> <7fcc8c21-106f-41d4-a5ba-409f3b54a56d@googlegroups.com> <5783c91e$0$1622$c3e8da3$5496439d@news.astraweb.com> <5783D63F.5040307@stoneleaf.us> <8560sbvqqd.fsf_-_@benfinney.id.au> <57840DFB.4000108@stoneleaf.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de pYLwJFIBaC2f4c/7AmDS1gmaDd31YR/BTCml5lmZuIAw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.020 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'claimed': 0.07; 'subject:number': 0.07; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; 'digits.': 0.16; 'left,': 0.16; 'mean,': 0.16; 'nope,': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'zeroes': 0.16; 'wrote:': 0.16; 'first,': 0.20; 'precise': 0.22; "haven't": 0.24; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'example': 0.26; 'closer': 0.29; 'second,': 0.29; '~ethan~': 0.29; 'somebody': 0.30; 'third': 0.33; 'clear': 0.35; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'say': 0.37; 'aspects': 0.37; 'represent': 0.38; 'to:addr:python.org': 0.40; 'still': 0.40; 'ten': 0.60; 'your': 0.60; 'more': 0.63; 'different': 0.63; 'skip:\xe2 10': 0.70; 'gain': 0.82; '8bit%:77': 0.84; 'distinguish': 0.84; 'fourth': 0.84; 'hundred': 0.96 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: <8560sbvqqd.fsf_-_@benfinney.id.au> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <57840DFB.4000108@stoneleaf.us> X-Mailman-Original-References: <834b1cce-38dd-474c-8915-4ff1cd6b27ec@googlegroups.com> <7fcc8c21-106f-41d4-a5ba-409f3b54a56d@googlegroups.com> <5783c91e$0$1622$c3e8da3$5496439d@news.astraweb.com> <5783D63F.5040307@stoneleaf.us> <8560sbvqqd.fsf_-_@benfinney.id.au> Xref: csiph.com comp.lang.python:111295 On 07/11/2016 01:56 PM, Ben Finney wrote: > Precision is not a property of the number. It is a property of the > *representation* of that number. > > The representation “1×10²” has a precision of one digit. > The representation “100” has a precision of three digits. > The representation “00100” has a precision of five digits. > The representation “100.00” also has a precision of five digits. Your first, second, and fourth example have zeroes to the right, and I understand them just fine. Your third example has zeroes to the left, and you haven't explained how 00100 is more precise than 100. I mean, if somebody told me that one hundred was closer to one hundred than it was to ten thousand I would have to say "D'oh!" > We gain clarity of speech: we distinguish the different aspects (how > many digits of this representation are actually claimed to represent the > number?) communicated by a representation. Nope, still not clear to me. :( -- ~Ethan~