Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Issue 567011: Fix a bug that Math.round() returns incorrect results for huge integers. (Closed)

Created:
10 years, 10 months ago by tkent
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix a bug that Math.round() returns incorrect results for huge integers.

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -1 line) Patch
M src/runtime.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
A test/mjsunit/math-round.js View 1 1 chunk +51 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
tkent
# I'm not a committer of V8.
10 years, 10 months ago (2010-02-02 05:32:44 UTC) #1
Lasse Reichstein
Very nice. I'll commit this. http://codereview.chromium.org/567011/diff/1/3 File src/runtime.cc (right): http://codereview.chromium.org/567011/diff/1/3#newcode4664 src/runtime.cc:4664: if (signbit(x) && x ...
10 years, 10 months ago (2010-02-02 08:52:29 UTC) #2
tkent
Thank you for reviewing. I have updated the patch. http://codereview.chromium.org/567011/diff/1/3 File src/runtime.cc (right): http://codereview.chromium.org/567011/diff/1/3#newcode4666 src/runtime.cc:4666: ...
10 years, 10 months ago (2010-02-02 09:12:15 UTC) #3
Lasse Reichstein
Whoops, that was quick response. Sorry for not being clearer: It was such a minor ...
10 years, 10 months ago (2010-02-02 09:20:12 UTC) #4
tkent
10 years, 10 months ago (2010-02-02 09:23:38 UTC) #5
> Sorry for not being clearer: It was such a minor change, so would just make it
> and commit the CL - which I did while you were writing.

Oh, thanks :-)

Powered by Google App Engine
This is Rietveld 408576698