From 1951addfef62050b2be7d6cdd772b9ab6150e3a3 Mon Sep 17 00:00:00 2001 From: Sami Vaarala Date: Sun, 9 Aug 2015 00:57:22 +0300 Subject: [PATCH 1/3] Releases: number rounding --- RELEASES.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/RELEASES.rst b/RELEASES.rst index 18f90407..b26995a5 100644 --- a/RELEASES.rst +++ b/RELEASES.rst @@ -1049,6 +1049,9 @@ Planned * Fix a few pointer compression issues (DUK_OPT_HEAPPTR16 / DUK_USE_HEAPPTR16) on 64-bit platforms (GH-228) +* Fix a bug in number conversion resolving a few (but not all) corner case + rounding issues (GH-264) + * Fix harmless MSVC warnings when using DUK_OPT_FASTINT on x86 (GH-172) * Fix harmless MSVC warnings for size_t casts on x64 (GH-177) From 3c7417c8943ff965ad920838fa62b49370b37d46 Mon Sep 17 00:00:00 2001 From: Sami Vaarala Date: Sun, 9 Aug 2015 00:57:36 +0300 Subject: [PATCH 2/3] Remove fixed rounding issue from known issues --- doc/testcase-known-issues.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/doc/testcase-known-issues.yaml b/doc/testcase-known-issues.yaml index cea5f407..fd2a4709 100644 --- a/doc/testcase-known-issues.yaml +++ b/doc/testcase-known-issues.yaml @@ -48,9 +48,6 @@ - test: "test-bug-tonumber-u0000.js" knownissue: "'\\u0000' should ToNumber() coerce to NaN, but now coerces to zero like an empty string" -- - test: "test-conv-number-tostring-tonumber-roundtrip.js" - knownissue: "rounding corner cases" - test: "test-dev-bound-thread-start-func.js" knownissue: "initial function of a new coroutine cannot be bound" From 81184042b73f4598ccfbc16e5831c5e5d771572a Mon Sep 17 00:00:00 2001 From: Sami Vaarala Date: Sun, 9 Aug 2015 01:03:34 +0300 Subject: [PATCH 3/3] Remove a fixed linenumber issue from known issues --- doc/testcase-known-issues.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/doc/testcase-known-issues.yaml b/doc/testcase-known-issues.yaml index fd2a4709..6ed44001 100644 --- a/doc/testcase-known-issues.yaml +++ b/doc/testcase-known-issues.yaml @@ -30,9 +30,6 @@ - test: "test-bug-enum-shadow-nonenumerable.js" knownissue: "corner case enumeration semantics, not sure what correct behavior is (test262 ch12/12.6/12.6.4/12.6.4-2)" -- - test: "test-bug-error-linenumber-2.js" - knownissue: "in corner cases (related to automatic semicolon insertion) throw statement error linenumber can be unexpected" - test: "test-bug-invalid-oct-as-dec.js" knownissue: "V8/Rhino parse invalid octal constants as decimal values, Duktape doesn't at the moment"