2010-02-01 Kent Tamura <tkent@chromium.org>
Reviewed by Darin Adler. Fix a bug that Math.round() retunrs incorrect results for huge integers https://bugs.webkit.org/show_bug.cgi?id=34462 * runtime/MathObject.cpp: (JSC::mathProtoFuncRound): Avoid "arg + 0.5". 2010-02-01 Kent Tamura <tkent@chromium.org> Reviewed by Darin Adler. Fix a bug that Math.round() retunrs incorrect results for huge integers https://bugs.webkit.org/show_bug.cgi?id=34462 * fast/js/math-expected.txt: * fast/js/script-tests/math.js: Add test cases for Math.round() for huge numbers. git-svn-id: svn://svn.chromium.org/blink/trunk@54197 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment