[Bug 8011] New: ECMAScript says the result of ToString on Number is not uniquely determined (in the last digit of s), but HTML5 makes it sound like there's a single best representation of any number. It should explicitly note that the best representation may be any one o

http://www.w3.org/Bugs/Public/show_bug.cgi?id=8011

           Summary: ECMAScript says the result of ToString on Number is not
                    uniquely determined (in the last digit of s), but HTML5
                    makes it sound like there's a single best representation
                    of any number. It should explicitly note that the best
                    representation may be any one o
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#best-
                    representation-of-the-floating-point-number
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org


Section:
http://www.whatwg.org/specs/web-apps/current-work/#best-representation-of-the-floating-point-number

Comment:
ECMAScript says the result of ToString on Number is not uniquely determined (in
the last digit of s), but HTML5 makes it sound like there's a single best
representation of any number. It should explicitly note that the best
representation may be any one of the multiple strings that ToString might
return. (Or define it differently somehow, so the implementation can't return a
different string each time you look at the best representation of the same
number.)

Posted from: 128.232.100.177


-- 
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 Thursday, 22 October 2009 16:59:49 UTC