W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > January to March 2010

[Bug 9005] New: oops! in algorithm of scientificMap

From: <bugzilla@wiggum.w3.org>
Date: Mon, 15 Feb 2010 15:48:54 +0000
To: www-xml-schema-comments@w3.org
Message-ID: <bug-9005-703@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9005

           Summary: oops! in algorithm of scientificMap
           Product: XML Schema
           Version: 1.1 only
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Datatypes: XSD Part 2
        AssignedTo: David_E3@VERIFONE.com
        ReportedBy: davep@iit.edu
         QAContact: www-xml-schema-comments@w3.org
                CC: cmsmcq@blackmesatech.com


In the definition of the function "scientificMap", it appears that the value of
the exponent part is subtracted from the significand part, rather than the two
being properly multiplied together.

This error was introduced in datatypes revision 1.7.2.8, 17 Jun 2004, and
apparently never before noticed.  :-(  (Just prior to that revision, the
operation was shown as a multiplication, at the time denoted by an asterisk
rather than a "real" multiplication sign.)

The obvious fix is to replace the minus sign with a multiplication sign in two
places.


-- 
Configure bugmail: http://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 Monday, 15 February 2010 15:48:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 15 February 2010 15:48:56 GMT