RE: Clarification on double/float

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 UTC