Date: Thu, 6 Feb 1997 16:46:42 +0200 (IST) From: Eli Zaretskii 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.