This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 15622 - [QT3TS] numberformatNaN
Summary: [QT3TS] numberformatNaN
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3 & XPath 3 Test Suite (show other bugs)
Version: Member-only Editors Drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Benjamin Nguyen
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-19 08:56 UTC by Tim Mills
Modified: 2012-05-18 15:19 UTC (History)
2 users (show)

See Also:


Attachments

Description Tim Mills 2012-01-19 08:56:43 UTC
This test was probably intended to be

      <test>format-number(1e0 div 0e0,'#############')</test>

since (decimal) 1.0 div 0.0 is an error, not NaN.

  <test-case name="numberformatNaN">
      <description>
        Creator: Zhen Hua Liu
        Purpose: NaN input from 1.0 div 0.0. </description>
      <created by="Zhen Hua Liu" on="2012-01-18"/>
      <environment/>
      <test>format-number(1.0 div 0.0,'#############')</test>
      <result>
         <assert-string-value>NaN</assert-string-value>
      </result>
   </test-case>
Comment 1 Michael Kay 2012-05-17 22:00:12 UTC
The test appears to have been fixed at around the time this bug was raised. Marking as resolved.
Comment 2 Tim Mills 2012-05-18 15:19:22 UTC
Confirmed fixed.