delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/09/30/12:16:55

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Sybari-Space: 00000000 00000000 00000000 00000000
From: Martin Stromberg <Martin DOT Stromberg AT epl DOT ericsson DOT se>
Message-Id: <200309301616.SAA10244@lws256.lu.erisoft.se>
Subject: Re: nan, nanf, nanl, revision 2 [PATCH]
To: djgpp-workers AT delorie DOT com
Date: Tue, 30 Sep 2003 18:16:19 +0200 (MET DST)
In-Reply-To: <E1A3Mh6-0000oK-00@phekda.freeserve.co.uk> from "Richard Dawe" at Sep 27, 2003 10:43:37 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

> * Make strto* support decimal numbers, when doing strto*("NAN(1234)", ...).
>   Currently it interprets everything inside NAN() as hexidecimal.
>   I think that is a bug, from reading the C99 specification.

I don't have C99 here, but I think it said the string is
implementation defined and the documentation clearly says (IIRC) it's
interpreted as a hexadecimal number. Thus there is no bug.


Right,

						MartinS

- Raw text -


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