Newsgroups: comp.os.msdos.djgpp From: design AT netcom DOT com (Chris Waters) Subject: Re: Problems with DJGPP V2.01 - atof() function Message-ID: 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 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.