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

Issue 303753002: Trigonometric functions using fdlibm. (Closed)

Created:
6 years, 6 months ago by Yang
Modified:
6 years, 4 months ago
Reviewers:
Raymond Toy
CC:
v8-dev
Visibility:
Public.

Description

Trigonometric functions using fdlibm. BUG=v8:3006 LOG=N

Patch Set 1 #

Patch Set 2 : license header #

Patch Set 3 : test case #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : floor instead of round #

Patch Set 7 : touch ups #

Unified diffs Side-by-side diffs Delta from patch set Stats (+633 lines, -283 lines) Patch
M src/bootstrapper.cc View 1 2 3 4 5 6 2 chunks +8 lines, -34 lines 0 comments Download
M src/math.js View 1 2 3 4 5 6 3 chunks +232 lines, -83 lines 0 comments Download
A src/rempio2.h View 1 2 3 4 5 6 1 chunk +35 lines, -0 lines 0 comments Download
A src/rempio2.cc View 1 2 3 4 5 6 1 chunk +263 lines, -0 lines 0 comments Download
M src/runtime.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime.cc View 1 2 3 4 5 6 2 chunks +16 lines, -0 lines 0 comments Download
D src/trig-table.h View 1 chunk +0 lines, -38 lines 0 comments Download
A + test/mjsunit/runtime-gen/rempio2.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/sin-cos.js View 1 2 3 4 5 6 2 chunks +70 lines, -2 lines 0 comments Download
M test/test262/test262.status View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
M tools/generate-runtime-tests.py View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
D tools/generate-trig-table.py View 1 2 3 1 chunk +0 lines, -83 lines 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 4 5 6 5 chunks +4 lines, -32 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Raymond Toy
https://codereview.chromium.org/303753002/diff/40001/src/math.js File src/math.js (right): https://codereview.chromium.org/303753002/diff/40001/src/math.js#newcode262 src/math.js:262: } As you mentioned via email, you've removed the ...
6 years, 6 months ago (2014-06-02 17:26:11 UTC) #1
Yang
https://codereview.chromium.org/303753002/diff/40001/src/math.js File src/math.js (right): https://codereview.chromium.org/303753002/diff/40001/src/math.js#newcode262 src/math.js:262: } On 2014/06/02 17:26:11, Raymond Toy wrote: > As ...
6 years, 6 months ago (2014-06-03 07:01:45 UTC) #2
Raymond Toy
On 2014/06/03 07:01:45, Yang wrote: > https://codereview.chromium.org/303753002/diff/40001/src/math.js > File src/math.js (right): > > https://codereview.chromium.org/303753002/diff/40001/src/math.js#newcode262 > ...
6 years, 6 months ago (2014-06-03 16:51:30 UTC) #3
Yang
On 2014/06/03 16:51:30, Raymond Toy wrote: > On 2014/06/03 07:01:45, Yang wrote: > > https://codereview.chromium.org/303753002/diff/40001/src/math.js ...
6 years, 6 months ago (2014-06-04 07:19:29 UTC) #4
Raymond Toy
On 2014/06/04 07:19:29, Yang wrote: > On 2014/06/03 16:51:30, Raymond Toy wrote: > > On ...
6 years, 6 months ago (2014-06-04 16:30:37 UTC) #5
Yang
On 2014/06/04 16:30:37, Raymond Toy wrote: > On 2014/06/04 07:19:29, Yang wrote: > > On ...
6 years, 6 months ago (2014-06-05 15:23:57 UTC) #6
Raymond Toy
https://codereview.chromium.org/303753002/diff/40001/src/math.js File src/math.js (right): https://codereview.chromium.org/303753002/diff/40001/src/math.js#newcode270 src/math.js:270: } else if (ix >= 0x7ff00000) { Why is ...
6 years, 6 months ago (2014-06-09 21:28:39 UTC) #7
Yang
6 years, 6 months ago (2014-06-10 06:51:54 UTC) #8
https://codereview.chromium.org/303753002/diff/40001/src/math.js
File src/math.js (right):

https://codereview.chromium.org/303753002/diff/40001/src/math.js#newcode270
src/math.js:270: } else if (ix >= 0x7ff00000) {
On 2014/06/09 21:28:38, Raymond Toy wrote:
> Why is this case removed?

This case wasn't removed. It was moved to C++. Motivation being that we don't
need duplicate code in sin/cos/tan when this is a rare case where performance
does not matter.

Powered by Google App Engine
This is Rietveld 408576698