delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/04/22/11:32:46

X-Sybari-Space: 00000000 00000000 00000000 00000000
From: Martin Stromberg <Martin DOT Stromberg AT epl DOT ericsson DOT se>
Message-Id: <200304221512.RAA06423@lws256.lu.erisoft.se>
Subject: Re: Yet another try on nan in strto{f,d,ld}
To: djgpp-workers AT delorie DOT com
Date: Tue, 22 Apr 2003 17:12:34 +0200 (MET DST)
In-Reply-To: <3EA53D71.79DFB503@phekda.freeserve.co.uk> from "Richard Dawe" at Apr 22, 2003 02:02:41 PM
X-Mailer: ELM [version 2.5 PL3]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Richard said:
> ams AT ludd DOT luth DOT se wrote:
> > 1. Note that the final paragraph in Return value for strtold is
> > missing, in case you notice. It's because that isn't implemented.
> > That's how it was.
> 
> You mean the paragraph about the function returning HUGE_VALL and errno ==
> ERANGE, when the number is too big, right? Perhaps we should add that
> paragraph, since:
> 
> * we may return HUGE_VALL, etc. at some point in the future;
> * the standard specifies that we can return HUGE_VALL, etc.;
> * and the programmer using the library should be aware that we can return
> HUGE_VALL, etc.

We should yes. But not until the code does so (or vice versa), IMHO.

Thanks for the other comments.


Right,

						MartinS

- Raw text -


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