cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/06/09:58:24

Date: Thu, 6 Feb 1997 16:46:42 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: kagel AT dg1 DOT bloomberg DOT com
cc: myskin AT inp DOT nsk DOT su, djgpp AT delorie DOT com
Subject: Re: double-->int: What's wrong here?
In-Reply-To: <9702061427.AA26252@quasar.bloomberg.com >
Message-ID: <Pine.SUN.3.91.970206164519.5706D-100000@is>
MIME-Version: 1.0

On Thu, 6 Feb 1997 kagel AT quasar DOT bloomberg DOT com wrote:

> to the limit of a double's precision (the next 5 digits would 86000 in the 
> 80bit internal x87 representation.  There is no imprecision in this calculation
> due to binary floating point effects and adding 0.5 will not change the results.

Are you sure?  Did you run that small test program with and without + 0.5?
If not, please do.  I'm pretty sure it will help.

- Raw text -


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