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

float / double values out of range - INF as closest value?

From: Post, Dr. Ulrich <Ulrich.Post@softwareag.com>
Date: Mon, 14 Mar 2005 19:29:19 +0100
Message-ID: <76EEB38C72AE1D4EA2FE2753766EB51447E9CB@DAEMSG03.eur.ad.sag>
To: <www-xml-schema-comments@w3.org>

Hello

http://www.w3.org/TR/xmlschema-2/#float and similarly
http://www.w3.org/TR/xmlschema-2/#double
state that

"A literal in the *lexical space* representing a decimal number d maps
to the normalized value in the *value space*  of float that is closest
to d ..."

However, neither the spec nor the article by Clinger et al seem to state
explicitly how a 
value which exceeds the maximum possible value, e.g. 1E9999, is to be
approximated.

Should that value be rejected or is INF the closest value?

Best regards
Uli
Received on Monday, 14 March 2005 18:29:50 GMT

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