Date: Thu, 17 Dec 1998 16:45:19 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Hans-Bernhard Broeker cc: Darrel Hankerson , djgpp-workers AT delorie DOT com Subject: Re: strtod anomaly In-Reply-To: <199812171209.NAA06699@acp3bf.physik.rwth-aachen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com On Thu, 17 Dec 1998, Hans-Bernhard Broeker wrote: > [Forwarded to djgpp-workers, from DJGPP newsgroup] Didn't see it there yet (the gateway had some problems lately, so it seems). > In article you wrote: > > strtod in 2.01 differs from that in Linux (gcc) and Solaris (Sun's cc) > > This alone wouldn't mean much, of course, but unless I've read it > completely incorrectly, the ANSI spec seems to agree that there's a > problem, here. An 'E' alone, without any digits to follow it, is not > a valid exponent suffix, and thus strtod should leave it alone. It is indeed a bug in v2.01. `strtod' was extensively tested for v2.02, and many such subtle problems were corrected. Please upgrade to v2.02, I think this bug is squashed there.