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

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 UTC