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

RE: Representation of floating point values.

From: Dave Peterson <davep@iit.edu>
Date: Tue, 8 Mar 2005 17:45:37 -0500
Message-Id: <a06110431be53da7823a2@[192.168.0.8]>
To: Daniel Engovatov <dengovatov@bea.com>, Ashok Malhotra <ashok.malhotra@oracle.com>, Michael Kay <mhk@mhk.me.uk>, www-xml-schema-comments@w3.org

At 2:35 PM -0800 050308, Daniel Engovatov wrote:
>  >Doesn't sound useful enough to force the backward
>>incompatability with 1.0.
>
>Changing the mapping from largest/smallest value to Infinity is a
>similar change, is not it?

Probably, unless we can justify (for either) that 1.0 is sufficiently
unclear as to allow either interpretation.

>Oh, well.  I guess those who care about large numbers will just find a
>way to bypass this schema limitation.

Yes.  The decimal datatype allows large numbers, and the proposed
pDecimal will allow both large numbers and scientific notation.
The problem for float and double is only how to interpret lexical
representations of numbers outside the range of the max and min
numerical values.
-- 
Dave Peterson
SGMLWorks!

davep@iit.edu
Received on Tuesday, 8 March 2005 22:45:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 October 2007 06:13:36 GMT