delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 27 Sep 2007 17:01:49 +0100 |
From: | Owen Rees <owen DOT rees AT hp DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: strange behavior with perl v 5.8.8 |
Message-ID: | <6F610F274679310E33C07DE5@orees.hpl.hp.com> |
In-Reply-To: | <5abc24640709270814j5148c43ejbfe46f022fd6ad1b@mail.gmail.com> |
References: | <5abc24640709270814j5148c43ejbfe46f022fd6ad1b AT mail DOT gmail DOT com> |
X-Mailer: | Mulberry/4.0.6 (Linux/x86) |
MIME-Version: | 1.0 |
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 Thursday, September 27, 2007 11:14:09 AM -0400 Andrew Louie wrote: > 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. This is rounding error and applies to all computer systems and all programming languages that use fixed size number representations. It can be fatal - for example see <http://www.ima.umn.edu/~arnold/disasters/patriot.html>. -- Owen Rees; speaking personally, and not on behalf of HP. ======================================================== Hewlett-Packard Limited. Registered No: 690597 England Registered Office: Cain Road, Bracknell, Berks RG12 1HN -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |