Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.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.025 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.01; 'that?': 0.05; 'subject:bug': 0.07; 'cc:addr:python-list': 0.11; '24,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'compare': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'received:google.com': 0.35; 'subject:?': 0.36; 'numbers': 0.61; 'buck': 0.84; 'inherent': 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=twDmGPZORxF5witMrx3PTIZ2151I0cjaGEzYT2yC6kI=; b=KjMrPAra6MP7/fmJPHsAesxJ3qcnaVCmEqyQ8JaXWWkWB/JEqPmLbvPi25k5ZSrdnq +jJeWnW5QZWMkv29Pm26DmK4p3ywNUzlBCG4g58oEfwxxCtxHKWDhTvXmB1HL2tZrbZp VXBIUpZP+8WdpUuF/4277lC08XUfz4riqMzQjxSCcfqdR9hKHt0LdO7Yi7nOF+FJxPfh nQnj3dUXatq3irRGdEDirUsF4xl5vWX27Srg0JZO6D0j8vG13qMuzaJWy39tIR4ECuax bRA1Kux5Nxf4NBUTWjIwQv+6s0JzQTAZF6h+ELQgQa4OZy0hmhZTW6AHvLvjLV87k6Iy q/Xw== MIME-Version: 1.0 X-Received: by 10.52.52.168 with SMTP id u8mr19197919vdo.25.1403580386849; Mon, 23 Jun 2014 20:26:26 -0700 (PDT) In-Reply-To: References: Date: Tue, 24 Jun 2014 13:26:26 +1000 Subject: Re: python 3.44 float addition bug? 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: 6 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1403580389 news.xs4all.nl 2838 [2001:888:2000:d::a6]:46846 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73528 On Tue, Jun 24, 2014 at 10:55 AM, buck wrote: > It used to be that the best way to compare floating point numbers while disregarding the inherent epsilon was to use `str(x) == str(y)`. Who said that? ChrisA