W3C home > Mailing lists > Public > public-html-commits@w3.org > October 2009

html5/spec Overview.html,1.3435,1.3436

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 23 Oct 2009 07:02:35 +0000
To: public-html-commits@w3.org
Message-Id: <E1N1EAV-0002uE-S6@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv11156

Modified Files:
Log Message:
Handle the way ToString is not fully defined on Number in JS. (whatwg r4300)

Index: Overview.html
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3435
retrieving revision 1.3436
diff -u -d -r1.3435 -r1.3436
--- Overview.html	23 Oct 2009 06:47:33 -0000	1.3435
+++ Overview.html	23 Oct 2009 07:02:32 -0000	1.3436
@@ -2472,7 +2472,12 @@
   <p>The <dfn id="best-representation-of-the-number-as-a-floating-point-number" title="best representation of the number as a floating
   point number">best representation of the number <var title="">n</var> as a floating point number</dfn> is the string
-  obtained from applying the JavaScript operator ToString to <var title="">n</var>.</p>
+  obtained from applying the JavaScript operator ToString to <var title="">n</var>. The JavaScript operator ToString is not uniquely
+  determined. When there are multiple possible strings that could be
+  obtained from the JavaScript operator ToString for a particular
+  value, the user agent must always return the same string for that
+  value (though it may differ from the value used by other user
+  agents).</p>
   <p>The <dfn id="rules-for-parsing-floating-point-number-values">rules for parsing floating point number values</dfn> are
   as given in the following algorithm. This algorithm must be aborted
Received on Friday, 23 October 2009 07:02:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:09:36 UTC