Representation of floating point values.

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 UTC