<?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>2934</bug_id>
          
          <creation_ts>2006-02-23 18:22:33 +0000</creation_ts>
          <short_desc>Last digit of precision in fn:number tests.</short_desc>
          <delta_ts>2006-04-06 14:38:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Query Test Suite</product>
          <component>XML Query Test Suite</component>
          <version>0.8.6</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</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="Jerome Simeon">simeon</reporter>
          <assigned_to name="Andrew Eisenberg">andrew.eisenberg</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>8424</commentid>
    <comment_count>0</comment_count>
    <who name="Jerome Simeon">simeon</who>
    <bug_when>2006-02-23 18:22:33 +0000</bug_when>
    <thetext>The last digit seems to be off on the following fn:number tests:

fn-numberintg1args-2

  The expected result should be
    8.309934971170243E17
  instead of
    8.3099349711702426E17

fn-numberdec1args-2

  The expected result should be
    6.173751916085148E17
  instead of
    6.1737519160851482E17

fn-numberflt1args-1

  The expected result should be
    -3.402823466385289E38
  instead of
    -3.4028234663852886E38

fn-numberflt1args-3

  The expected result should be
    3.402823466385289E38
  instead of
    3.4028234663852886E38

fn-numberlng1args-2

  The expected result should be
    -4.717556220304846E16
  instead of
    -4.7175562203048464E16

fn-numbernint1args-2

  The expected result should be
    -2.970140759990968E17
  instead of
    -2.9701407599909677E17

fn-numberpint1args-2

  The expected result should be
    5.270460239061003E16
  instead of
    5.2704602390610032E16

fn-numberulng1args-2

  The expected result should be
    1.307471086076747E17
  instead of
    1.30747108607674656E17

fn-numberulng1args-3

  The expected result should be
    1.844674407370955E17
  instead of
    1.8446744073709552E17

fn-numbernpi1args-2

  The expected result should be
    -4.756884372718705E17
  instead of
    -4.7568843727187046E17

fn-numbernni1args-2

  The expected result should be
    3.038845459914645E17
  instead of
    3.0388454599146451E17

- Jerome</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9052</commentid>
    <comment_count>1</comment_count>
    <who name="Carmelo Montanez">carmelo</who>
    <bug_when>2006-04-06 14:38:21 +0000</bug_when>
    <thetext>Jerome:

Thanks for the comment.  Changed the outcome of some of the test or
(as it is our policy) added a second expected outcome, if the test case
warrants it.  Test cases fn-numbernint1args-2 and fn-numberpint1args-2
were changed to use a different approach.  All new changed tests/results
were submitted.  Please close the bug when able to verify.

Thanks,
Carmelo
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>