delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/12/17/09:45:16

Date: Thu, 17 Dec 1998 16:45:19 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
cc: Darrel Hankerson <hankedr AT dms DOT auburn DOT edu>, djgpp-workers AT delorie DOT com
Subject: Re: strtod anomaly
In-Reply-To: <199812171209.NAA06699@acp3bf.physik.rwth-aachen.de>
Message-ID: <Pine.SUN.3.91.981217163537.3529A-100000@is>
MIME-Version: 1.0
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 <x7n24nmqsn DOT fsf AT manatee DOT dms DOT auburn DOT edu> 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.

- Raw text -


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