Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!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.027 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'subject:skip:m 10': 0.09; 'python': 0.11; 'thu,': 0.15; 'accidental': 0.16; 'trusty': 0.16; 'wrote:': 0.16; 'string': 0.17; 'runs': 0.18; '64-bit': 0.22; 'am,': 0.23; '2015': 0.23; 'header:In-Reply-To:1': 0.24; 'message- id:@mail.gmail.com': 0.28; 'appear': 0.29; 'builds.': 0.29; '(which': 0.29; 'code': 0.31; 'system,': 0.32; 'ubuntu': 0.33; 'received:google.com': 0.34; 'to:addr:python-list': 0.35; 'should': 0.37; 'subject:: ': 0.37; 'to:addr:python.org': 0.39; 'results.': 0.63; 'jul': 0.72; 'to:name:python': 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=IMrCdEh47EBOv5Fs4gaBhB63Ihv15gPK0LwLm2Di9ds=; b=aeeS6Nno1vB13s4gnkgCAJn6A4bPspMvgq5o6zzhx4oe0CNCvPT7y2uEQU4B0xR7RO 5k1BIGMr1yraGaR0+E8N1EtaT8GzVUvdz5jvxFZwqDJ4+kKtRAuiLJgV6U5m6Wi+rOsX 7J6eKXX2Nd6MiOmzhb1XcQrIe2k+ftcQS8NOTppLhCUZSVSEfztsINN5mICufGEzzoVs /8riJdcBkt4v8PBKkNw4dlXHXY/+o2/oKvNFTaq7Szk45kmBZziwMrGgPhAmrEQi+qaG aM3My3qLWQ/7+oB3+RY/H1Nu57AKCwkUwEREjyuxPgjjK9M5cRqZzAk3nfUzBfbLzbz/ yuIw== X-Received: by 10.170.141.4 with SMTP id i4mr39338680ykc.32.1435851202905; Thu, 02 Jul 2015 08:33:22 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <55955048$0$1662$c3e8da3$5496439d@news.astraweb.com> From: Ian Kelly Date: Thu, 2 Jul 2015 09:32:43 -0600 Subject: Re: Bug in floating point multiplication To: Python Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1435851204 news.xs4all.nl 2859 [2001:888:2000:d::a6]:60742 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:93435 On Thu, Jul 2, 2015 at 9:28 AM, Ian Kelly wrote: > On my Chromebook, using Python 2.7.6 from the Ubuntu Trusty > distribution, I get AssertionError, and x == 1. > > In Python 3.4.0 on the same system, the code runs to completion. Both > Pythons appear to be 64-bit builds. > > On my Mint 17.1 desktop (which should be using the same packages), I > get the same results. Apologies for the accidental top-posting. Also, the full sys.version string for the 2.7.6 Python is: 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2]