Skip to content

Commit

Permalink
[] (0) Allow implementations to use other IEEE rounding modes if real…
Browse files Browse the repository at this point in the history
…ly necessary.

git-svn-id: http://svn.whatwg.org/webapps@1967 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 31, 2008
1 parent 0c7c969 commit 7337b93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion index
Expand Up @@ -22417,7 +22417,7 @@ XXXDVT (also check for '- -' bits in the part above) -->
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>
Expand Down
6 changes: 3 additions & 3 deletions source
Expand Up @@ -19729,9 +19729,9 @@ XXXDVT (also check for '- -' bits in the part above) -->
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
Expand Down

0 comments on commit 7337b93

Please sign in to comment.