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

Issue 786823003: Implement Math.log2 via ported extract from fdlibm. (Closed)

Created:
6 years ago by Yang
Modified:
6 years ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

Implement Math.log2 via ported extract from fdlibm. Adapted from Raymond Toy's (rtoy@chromium.org) port, extracted from fdlibm's pow implementation. R=rtoy@chromium.org BUG=v8:3579 LOG=N

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressed comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -39 lines) Patch
M src/math.js View 2 chunks +1 line, -6 lines 0 comments Download
M src/third_party/fdlibm/fdlibm.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/third_party/fdlibm/fdlibm.cc View 1 1 chunk +30 lines, -20 lines 1 comment Download
M src/third_party/fdlibm/fdlibm.js View 1 7 chunks +130 lines, -11 lines 1 comment Download
M test/mjsunit/es6/math-log2-log10.js View 2 chunks +52 lines, -1 line 0 comments Download

Messages

Total messages: 17 (5 generated)
Yang
6 years ago (2014-12-09 10:25:10 UTC) #1
Raymond Toy
https://codereview.chromium.org/786823003/diff/1/src/third_party/fdlibm/fdlibm.js File src/third_party/fdlibm/fdlibm.js (right): https://codereview.chromium.org/786823003/diff/1/src/third_party/fdlibm/fdlibm.js#newcode931 src/third_party/fdlibm/fdlibm.js:931: n -= 54; Why 54? The original code multiplied ...
6 years ago (2014-12-09 20:37:38 UTC) #2
Raymond Toy
Oh, in case any one has to do bisects in the future, perhaps the description ...
6 years ago (2014-12-09 20:45:26 UTC) #3
Yang
I added a half-sentence to the description to say that it originates from fdlibm's pow ...
6 years ago (2014-12-10 10:01:41 UTC) #4
Raymond Toy
lgtm. Couple of minor comments that you can ignore if you want. Thanks for implementing ...
6 years ago (2014-12-10 17:15:53 UTC) #5
Yang
On 2014/12/10 17:15:53, Raymond Toy wrote: > lgtm. > > Couple of minor comments that ...
6 years ago (2014-12-10 20:42:46 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/786823003/20001
6 years ago (2014-12-10 20:43:27 UTC) #8
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years ago (2014-12-10 20:43:29 UTC) #10
Yang
Sven, can you please rubberstamp and check CQ? Thanks!
6 years ago (2014-12-10 20:51:03 UTC) #12
Jakob Kummerow
rubberstamp LGTM
6 years ago (2014-12-11 10:53:42 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/786823003/20001
6 years ago (2014-12-11 10:56:11 UTC) #16
commit-bot: I haz the power
6 years ago (2014-12-11 11:23:33 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001)

Powered by Google App Engine
This is Rietveld 408576698