W3C home > Mailing lists > Public > xmlschema-dev@w3.org > November 2002

RE: Clarification on double/float

From: Xan Gregg <xan@tibco.com>
Date: Wed, 27 Nov 2002 16:12:43 -0500
Message-ID: <339902DC0E58D411986A00B0D03D84320186A8CC@extmail.rtp.tibco.com>
To: "'Ashok Malhotra'" <ashokma@microsoft.com>, peiyongz@ca.ibm.com
Cc: xmlschema-dev@w3.org
If the commenter was asking about lexical forms, I think there is an open
erratum on it (R-108).  The public message for it is
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0257.
html
<http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002JanMar/0257
.html> .
 
While the value 1E100 is not a float, the lexical literal "1E100" apparently
is a valid float.  The value of the literal "1E100" is either INF or max
float (~3.4E38), depending on how the WG addresses the erratum.
 
xan
 
-----Original Message-----
From: Ashok Malhotra [mailto:ashokma@microsoft.com]
Sent: Wednesday, November 27, 2002 9:44 AM
To: peiyongz@ca.ibm.com
Cc: xmlschema-dev@w3.org
Subject: Clarification on double/float



This is in response to your note:
http://lists.w3.org/Archives/Public/xmlschema-dev/2002Nov/0131.html
<http://lists.w3.org/Archives/Public/xmlschema-dev/2002Nov/0131.html> 

The XML Schema datatypes double and float follow the IEEE 754 float and
double.  Thus, they cover the

same range of values.  There is a forthcoming erratum which will clarify
this. 

All the best, Ashok
Received on Wednesday, 27 November 2002 18:41:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:35 GMT