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

Representation of floating point values.

From: Daniel Engovatov <dengovatov@bea.com>
Date: Mon, 7 Mar 2005 13:43:01 -0800
Message-ID: <32D5845A745BFB429CBDBADA57CD41AF09FF7B39@ussjex01.amer.bea.com>
To: <www-xml-schema-comments@w3.org>
Cc: <w3c-xml-query-wg@w3.org>

During our recent XQuery working group meeting we have closed an issue
regarding what should be done if a numerical literal representing a
float or double value is out of range for IEEE 754 values (positive and
negative overflow or underflow).

--------
RESOLUTION: Too big float/double values.
http://lists.w3.org/Archives/Member/w3c-xml-query-wg/2005Feb/0084.html
is rejected. No action required to 3.1.1. Schema says that one should
map to the largest float or double value.
--------

It does seem to me that this is an unfortunate choice in the Schema to
just map a non-representable number into another number.  Probably,
other options should be allowed for an implementation, such raising an
error and mapping to +/- INF.

Sincerely,

Daniel Engovatov.   
Received on Monday, 7 March 2005 21:43:05 GMT

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