- From: <bugzilla@wiggum.w3.org>
- Date: Sat, 14 May 2005 00:24:08 +0000
- To: public-qt-comments@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=1445
Summary: [FO] precision of xs:float
Product: XPath / XQuery / XSLT
Version: Last Call drafts
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Functions and Operators
AssignedTo: ashok.malhotra@oracle.com
ReportedBy: mrys@microsoft.com
QAContact: public-qt-comments@w3.org
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.
Received on Saturday, 14 May 2005 00:24:12 UTC