W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2002

Re: largest finite float

From: Dave Peterson <davep@acm.org>
Date: Thu, 24 Jan 2002 11:02:08 -0500
Message-Id: <a05010404b875de79f6b5@[209.6.249.111]>
To: zongaro@ca.ibm.com
Cc: www-xml-schema-comments@w3.org, cmsmcq@acm.org, ashokma@microsoft.com, Paul.V.Biron@kp.org
At 10:15 AM -0500 1/24/02, zongaro@ca.ibm.com wrote:

>      As long as we're on the topic of subnormalized numbers, it's 
>not clear to me whether they were intended to be part of the value 
>space.  The description of the value space I've quoted above admits 
>the subnormalized values to the value space - they are those values 
>for which e=-149 and 0 < m < 2**23.  However, literals in the 
>lexical space map to the closest *normalized* value.  That would 
>mean that there are values in the value space to which no value in 
>the lexical space will map.  Any revision of the description of 
>float needs to answer this question.

This sounds like an erratum candidate to me.  It's my understanding that
subnormalized numbers are included, and the rounding algorithm maps to the
closest value in the value space, be it normalized or subnormalized.

I suspect any other interpretation would have the entire community of
float/double users up in arms.

I believe the question of whether extremely large numbers should "round"
to the largest representable or to +infinity was discussed and resolved
in favor of +infinity, with the cutoff as I described.  I don't recall
this one (subnormals) being discussed.
-- 
Dave Peterson
SGMLWorks!

davep@acm.org
Received on Thursday, 24 January 2002 11:02:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:57 UTC