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

X-Sybari-Space: 00000000 00000000 00000000 00000000
From: Martin Stromberg <Martin DOT Stromberg AT epl DOT ericsson DOT se>
Message-Id: <200304221513.RAA06434@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:13:49 +0200 (MET DST)
In-Reply-To: <3EA53DE0.E533096B@phekda.freeserve.co.uk> from "Richard Dawe" at Apr 22, 2003 02:04:32 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:
> >     +    double_t n = *(double_t *)(&tmp_d);
> [snip]
> 
> Oops, I have another question for Martin. Can't you take the address of NAN
> directly and avoid going through tmp_d?

No, because NAN is a float.


Right,

						MartinS

- Raw text -


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