www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/02/01:34:34

Newsgroups: comp.os.msdos.djgpp
From: design AT netcom DOT com (Chris Waters)
Subject: Re: Problems with DJGPP V2.01 - atof() function
Message-ID: <designE1rtA2.K0B@netcom.com>
Organization: Design and Delivery
References: <329e68a5 DOT 10316617 AT news DOT ua DOT pt> <57mtq1$4mo AT vidar DOT diku DOT dk> <32A10B78 DOT 742AEEA5 AT alcyone DOT com> <32A23A40 DOT 4AEB AT gbrmpa DOT gov DOT au>
Date: Mon, 2 Dec 1996 05:15:38 GMT
Lines: 15
Sender: design AT netcom22 DOT netcom DOT com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <32A23A40 DOT 4AEB AT gbrmpa DOT gov DOT au>,
Leath Muller  <leathm AT gbrmpa DOT gov DOT au> wrote:

>> > Floating point numbers are not exactly represented; you will see
>> > rounding errors.

>> That's the problem exactly.

>Eli, can this go in the FAQ??? The reason being that I think all this
>mail has just solved one of my problems I am having at the moment. Good
>timing too, I nearly threw the computer out the window last night!!! :)

This isn't a djgpp problem, or even a gcc problem, it's true on any
system which uses floating point, from Fortran to VB, and from Crays to
pocket calculators.

- Raw text -


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