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

float and double datatype in NIST test suite

From: Stefan Wachter <Stefan.Wachter@gmx.de>
Date: Sat, 3 Aug 2002 09:31:16 -0400 (EDT)
To: xmlschema-dev@w3.org
Message-ID: <10748.1028381443@www6.gmx.net>




Dear all,

while working through the NIST test cases I found schemas that assumed a
huge range for floats and doubles. For example the schema
NISTSchema-double-minExclusive-1.xsd has the facet <minExclusive value="1E-1075"/>.

Studying the IEEE 754 specification I came the conclusion that the exponent
in this NIST schema is much too great. For doubles the exponent must be
smaller than 308. Right?

Thanks for your attention,
--Stefan
Received on Monday, 5 August 2002 05:25:23 GMT

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