Mail Archives: djgpp-workers/2003/02/27/10:36:54

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <>
Date: Thu, 27 Feb 2003 14:48:18 +0000
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: strtod.c: inf and nan support
References: <200302271050 DOT LAA12257 AT lws256 DOT lu DOT erisoft DOT se>
Reply-To: djgpp-workers AT delorie DOT com


Martin Stromberg wrote:
> Some more questions:
> 1. Should we support "nan(0x233)" to set specific bits in the NaN?
> I'm willing to do the strto{d,f,ld}() parts, but not the *printf()
> part.

For those who don't have the C99 standard:

"An implementation may use the n-char sequence to determine extra information
to be represented in
the NaN?s significand."

where "the n-char sequence" is the thing in brackets, e.g. 0x233 above.

For those with the C99 standard, this is footnote 250, which is in section

(I'm out of my depth with this floating-point stuff, so I won't say anything

Bye, Rich =]

Richard Dawe [ ]

- Raw text -

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