delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/27/12:27:47

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <183c528b0709270927v3dcc7d43hb9b53ee1fb19c120@mail.gmail.com>
Date: Thu, 27 Sep 2007 12:27:16 -0400
From: "Brian Mathis" <brian DOT mathis AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: strange behavior with perl v 5.8.8
In-Reply-To: <5abc24640709270814j5148c43ejbfe46f022fd6ad1b@mail.gmail.com>
MIME-Version: 1.0
References: <5abc24640709270814j5148c43ejbfe46f022fd6ad1b AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 9/27/07, Andrew Louie <louiea AT gmail DOT com> wrote:
> Hello,
>
> I've run into a strange adding problem with perl:
>
> when incrementing by 0.1 i get a strange behavior where at some
> arbitrary  number, it will append 0.9999999999 to the end of the
> number.
>

There's an excellent explanation of this (just posted today about the
recently discovered Excel 2007 bug) here:
http://www.joelonsoftware.com/items/2007/09/26b.html

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019