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

Issue 695263002: Fix constant in Math.tan implementation. (Closed)

Created:
6 years, 1 month ago by Yang
Modified:
6 years, 1 month ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : remove debugprint #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M src/third_party/fdlibm/fdlibm.js View 1 1 chunk +1 line, -1 line 2 comments Download
M test/mjsunit/sin-cos.js View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Yang
https://codereview.chromium.org/695263002/diff/20001/src/third_party/fdlibm/fdlibm.js File src/third_party/fdlibm/fdlibm.js (right): https://codereview.chromium.org/695263002/diff/20001/src/third_party/fdlibm/fdlibm.js#newcode294 src/third_party/fdlibm/fdlibm.js:294: if (ix >= 0x3fe59428) { compare to this.
6 years, 1 month ago (2014-11-03 09:35:27 UTC) #1
Jakob Kummerow
lgtm
6 years, 1 month ago (2014-11-03 09:39:54 UTC) #2
Yang
Committed patchset #2 (id:20001) manually as 25060 (presubmit successful).
6 years, 1 month ago (2014-11-03 09:40:20 UTC) #3
Raymond Toy
6 years, 1 month ago (2014-11-04 16:49:52 UTC) #4
Message was sent while issue was closed.
https://codereview.chromium.org/695263002/diff/20001/src/third_party/fdlibm/f...
File src/third_party/fdlibm/fdlibm.js (right):

https://codereview.chromium.org/695263002/diff/20001/src/third_party/fdlibm/f...
src/third_party/fdlibm/fdlibm.js:270: if (ix >= 0x3fe59428) {  // |x| > .6744
Sorry about the typo!

More tests should be added for each of the functions wherever there is a branch
is taken. I think there are tests for each branch, but not at the branch values.

Powered by Google App Engine
This is Rietveld 408576698