X-Sybari-Space: 00000000 00000000 00000000 00000000 From: Martin Stromberg 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Precedence: bulk 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