Commit d5b4fe0d authored by tkent@chromium.org's avatar tkent@chromium.org

2010-02-01 Kent Tamura <tkent@chromium.org>

        Unreviewed. Add two more test cases which I forgot to add in r54197.
        https://bugs.webkit.org/show_bug.cgi?id=34462

        * fast/js/math-expected.txt:
        * fast/js/script-tests/math.js:

git-svn-id: svn://svn.chromium.org/blink/trunk@54198 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 7d2c7e3f
2010-02-01 Kent Tamura <tkent@chromium.org>
Unreviewed. Add two more test cases which I forgot to add in r54197.
https://bugs.webkit.org/show_bug.cgi?id=34462
* fast/js/math-expected.txt:
* fast/js/script-tests/math.js:
2010-02-01 Kent Tamura <tkent@chromium.org> 2010-02-01 Kent Tamura <tkent@chromium.org>
Reviewed by Darin Adler. Reviewed by Darin Adler.
......
...@@ -136,11 +136,13 @@ PASS Math.round(8640000000000001) is 8640000000000001 ...@@ -136,11 +136,13 @@ PASS Math.round(8640000000000001) is 8640000000000001
PASS Math.round(8640000000000002) is 8640000000000002 PASS Math.round(8640000000000002) is 8640000000000002
PASS Math.round(9007199254740990) is 9007199254740990 PASS Math.round(9007199254740990) is 9007199254740990
PASS Math.round(9007199254740991) is 9007199254740991 PASS Math.round(9007199254740991) is 9007199254740991
PASS Math.round(1.7976931348623157e+308) is 1.7976931348623157e+308
PASS Math.round(-8640000000000000) is -8640000000000000 PASS Math.round(-8640000000000000) is -8640000000000000
PASS Math.round(-8640000000000001) is -8640000000000001 PASS Math.round(-8640000000000001) is -8640000000000001
PASS Math.round(-8640000000000002) is -8640000000000002 PASS Math.round(-8640000000000002) is -8640000000000002
PASS Math.round(-9007199254740990) is -9007199254740990 PASS Math.round(-9007199254740990) is -9007199254740990
PASS Math.round(-9007199254740991) is -9007199254740991 PASS Math.round(-9007199254740991) is -9007199254740991
PASS Math.round(-1.7976931348623157e+308) is -1.7976931348623157e+308
PASS Math.round(Infinity) is Infinity PASS Math.round(Infinity) is Infinity
PASS Math.round(-Infinity) is -Infinity PASS Math.round(-Infinity) is -Infinity
PASS Math.sin(NaN) is NaN PASS Math.sin(NaN) is NaN
......
...@@ -198,11 +198,13 @@ shouldBe("Math.round(8640000000000001)", "8640000000000001"); ...@@ -198,11 +198,13 @@ shouldBe("Math.round(8640000000000001)", "8640000000000001");
shouldBe("Math.round(8640000000000002)", "8640000000000002"); shouldBe("Math.round(8640000000000002)", "8640000000000002");
shouldBe("Math.round(9007199254740990)", "9007199254740990"); shouldBe("Math.round(9007199254740990)", "9007199254740990");
shouldBe("Math.round(9007199254740991)", "9007199254740991"); shouldBe("Math.round(9007199254740991)", "9007199254740991");
shouldBe("Math.round(1.7976931348623157e+308)", "1.7976931348623157e+308");
shouldBe("Math.round(-8640000000000000)", "-8640000000000000"); shouldBe("Math.round(-8640000000000000)", "-8640000000000000");
shouldBe("Math.round(-8640000000000001)", "-8640000000000001"); shouldBe("Math.round(-8640000000000001)", "-8640000000000001");
shouldBe("Math.round(-8640000000000002)", "-8640000000000002"); shouldBe("Math.round(-8640000000000002)", "-8640000000000002");
shouldBe("Math.round(-9007199254740990)", "-9007199254740990"); shouldBe("Math.round(-9007199254740990)", "-9007199254740990");
shouldBe("Math.round(-9007199254740991)", "-9007199254740991"); shouldBe("Math.round(-9007199254740991)", "-9007199254740991");
shouldBe("Math.round(-1.7976931348623157e+308)", "-1.7976931348623157e+308");
shouldBe("Math.round(Infinity)", "Infinity"); shouldBe("Math.round(Infinity)", "Infinity");
shouldBe("Math.round(-Infinity)", "-Infinity"); shouldBe("Math.round(-Infinity)", "-Infinity");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment