W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > June 2010

[Bug 9886] New: valueAsNumber is a double but the algorithm to convert a string to a number have to follow the rules for parsing float

From: <bugzilla@jessica.w3.org>
Date: Tue, 08 Jun 2010 22:22:55 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-9886-2486@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9886

           Summary: valueAsNumber is a double but the algorithm to convert
                    a string to a number have to follow the rules for
                    parsing float
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: mounir.lamouri@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html@w3.org


The rules for parsing floating point number values is for float, not double.
So, having a double is useless here as we are not going to have the precision
of a double.
valueAsNumber should be a float or the algorithm to convert a string to a
number should be changed.

-- 
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 Tuesday, 8 June 2010 22:22:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 June 2010 22:22:58 GMT