[html5] r1967 - [] (0) Allow implementations to use other IEEE rounding modes if really necessary.

whatwg at whatwg.org whatwg at whatwg.org
Wed Jul 30 22:23:06 PDT 2008


Author: ianh
Date: 2008-07-30 22:23:05 -0700 (Wed, 30 Jul 2008)
New Revision: 1967

Modified:
   index
   source
Log:
[] (0) Allow implementations to use other IEEE rounding modes if really necessary.

Modified: index
===================================================================
--- index	2008-07-31 01:15:43 UTC (rev 1966)
+++ index	2008-07-31 05:23:05 UTC (rev 1967)
@@ -22417,7 +22417,7 @@
    JavaScript's ToNumber algorithm, and if the result is a NaN value, then
    the value be must converted to zero. If the result is less than 0, it must
    be clamped to zero. If the result is more than 255, it must be clamped to
-   255. If the number is not an integer, it must be rounded to the nearest
+   255. If the number is not an integer, it should be rounded to the nearest
    integer using the IEEE 754r <i>convertToIntegerTiesToEven</i> rounding
    mode. <a href="#refsECMA262">[ECMA262]</a> <a
    href="#refsIEEE754r">[IEEE754R]</a>

Modified: source
===================================================================
--- source	2008-07-31 01:15:43 UTC (rev 1966)
+++ source	2008-07-31 05:23:05 UTC (rev 1967)
@@ -19729,9 +19729,9 @@
   the result is a NaN value, then the value be must converted to
   zero. If the result is less than 0, it must be clamped to zero. If
   the result is more than 255, it must be clamped to 255. If the
-  number is not an integer, it must be rounded to the nearest integer
-  using the IEEE 754r <i>convertToIntegerTiesToEven</i> rounding mode.  <a
-  href="#refsECMA262">[ECMA262]</a> <a
+  number is not an integer, it should be rounded to the nearest
+  integer using the IEEE 754r <i>convertToIntegerTiesToEven</i>
+  rounding mode.  <a href="#refsECMA262">[ECMA262]</a> <a
   href="#refsIEEE754r">[IEEE754R]</a></p>
 
   <p class="note">The width and height (<var title="">w</var> and <var




More information about the Commit-Watchers mailing list