<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>1445</bug_id>
          
          <creation_ts>2005-05-14 00:24:08 +0000</creation_ts>
          <short_desc>[FO] precision of xs:float</short_desc>
          <delta_ts>2005-09-29 11:16:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XPath / XQuery / XSLT</product>
          <component>Functions and Operators 1.0</component>
          <version>Last Call drafts</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Rys">mrys</reporter>
          <assigned_to name="Ashok Malhotra">ashok.malhotra</assigned_to>
          
          
          <qa_contact name="Mailing list for public feedback on specs from XSL and XML Query WGs">public-qt-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3241</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Rys">mrys</who>
    <bug_when>2005-05-14 00:24:08 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3126</commentid>
    <comment_count>1</comment_count>
    <who name="Ashok Malhotra">ashok.malhotra</who>
    <bug_when>2005-05-19 22:26:20 +0000</bug_when>
    <thetext>The joint QT WGs discussed this request on 5/19/2005 and declined to make this
change.

Ashok Malhotra</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>