1445
2005-05-14 00:24:08 +0000
[FO] precision of xs:float
2005-09-29 11:16:42 +0000
1
1
1
Unclassified
XPath / XQuery / XSLT
Functions and Operators 1.0
Last Call drafts
PC
Windows XP
CLOSED
FIXED
P2
normal
---
1
mrys
ashok.malhotra
public-qt-comments
oldest_to_newest
3241
0
mrys
2005-05-14 00:24:08 +0000
The new casting rules for casting to xs:float say:
if E exceeds 104 (the maximum exponent value in the value space of xs:float)
then TV is the xs:float value INF or -INF depending on the sign of M.
if E is less than -149 (the minimum exponent value in the value space of
xs:float) then TV is the xs:float value positive or negative zero depending on
the sign of M
Note that certain architectures such as the Intel x86 architecture allow float
values with larger exponent values. We should not penalize such architectures
and allow them to represent larger and smaller xs:float values before
switching to INF/-INF.
3126
1
ashok.malhotra
2005-05-19 22:26:20 +0000
The joint QT WGs discussed this request on 5/19/2005 and declined to make this
change.
Ashok Malhotra