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

Issue 71503004: Further improve Math.sin/cos. (Closed)

Created:
7 years, 1 month ago by Yang
Modified:
7 years, 1 month ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Further improve Math.sin/cos. R=jkummerow@chromium.org

Patch Set 1 #

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -18 lines) Patch
M src/math.js View 1 3 chunks +10 lines, -18 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
Yang
7 years, 1 month ago (2013-11-13 17:32:22 UTC) #1
Jakob Kummerow
7 years, 1 month ago (2013-11-18 13:53:46 UTC) #2
LGTM, except for a nit about the CL description: remove the "BUG=" or you'll
have to add "LOG=N".

Go ahead and do the platform ports :-P

https://codereview.chromium.org/71503004/diff/40001/src/math.js
File src/math.js (right):

https://codereview.chromium.org/71503004/diff/40001/src/math.js#newcode252
src/math.js:252: if (%_IsMinusZero(multiple)) return -0;
Why this change? "return multiple" might be (ever so slightly) faster.

Powered by Google App Engine
This is Rietveld 408576698