W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2012

[Bug 15622] New: [QT3] numberformatNaN

From: <bugzilla@jessica.w3.org>
Date: Thu, 19 Jan 2012 08:56:44 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-15622-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15622

           Summary: [QT3] numberformatNaN
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
        AssignedTo: benjie.nguyen@gmail.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org


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>

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 19 January 2012 08:56:47 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:47 UTC