[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

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 UTC