delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/02/27/10:36:54

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3E5E2532.A41B8020@phekda.freeserve.co.uk>
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

Hello.

Martin Stromberg wrote:
[snip]
> 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.
[snip]

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
7.20.1.3.

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

Bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


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