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

Issue 149188: Fix the order in which ToNumber is called for some Math functions.... (Closed)

Created:
11 years, 5 months ago by Erik Corry
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Fix the order in which ToNumber is called for some Math functions. Avoid divisions when doing Math.min(0, 0). https://bugs.webkit.org/show_bug.cgi?id=26978 has been filed to fix inconsistencies between JSC and V8. Committed: http://code.google.com/p/v8/source/detail?r=2367

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -9 lines) Patch
M src/math.js View 1 3 chunks +13 lines, -9 lines 0 comments Download
A test/mjsunit/to_number_order.js View 1 1 chunk +102 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Erik Corry
11 years, 5 months ago (2009-07-05 13:26:05 UTC) #1
William Hesse
LGTM.
11 years, 5 months ago (2009-07-05 13:58:36 UTC) #2
Erik Corry
11 years, 5 months ago (2009-07-05 15:00:03 UTC) #3
After finding more inconsistencies I decided to file
https://bugs.webkit.org/show_bug.cgi?id=26978 and to make V8 follow the spec.

Powered by Google App Engine
This is Rietveld 408576698