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

Issue 2000004: Added precision mode to fast-dtoa. (Closed)

Created:
10 years, 7 months ago by Florian Loitsch
Modified:
9 years, 7 months ago
Reviewers:
William Hesse
CC:
v8-dev
Visibility:
Public.

Description

Added precision mode to fast-dtoa. Committed: http://code.google.com/p/v8/source/detail?r=5491

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 36

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 3

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+599 lines, -99 lines) Patch
M src/conversions.cc View 1 4 chunks +59 lines, -11 lines 0 comments Download
M src/dtoa.cc View 1 chunk +4 lines, -3 lines 0 comments Download
M src/fast-dtoa.h View 1 2 1 chunk +36 lines, -11 lines 0 comments Download
M src/fast-dtoa.cc View 1 2 3 4 15 chunks +280 lines, -63 lines 0 comments Download
M test/cctest/SConscript View 1 chunk +1 line, -0 lines 0 comments Download
A test/cctest/gay-precision.h View 1 chunk +47 lines, -0 lines 0 comments Download
M test/cctest/test-fast-dtoa.cc View 7 chunks +172 lines, -11 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
William Hesse
Reviewed up to, but not including, DigitGenCounted in fast-dtoa.cc. http://codereview.chromium.org/2000004/diff/19001/14002 File src/fast-dtoa.cc (right): http://codereview.chromium.org/2000004/diff/19001/14002#newcode78 src/fast-dtoa.cc:78: ...
10 years, 4 months ago (2010-07-30 09:34:35 UTC) #1
William Hesse
LGTM. http://codereview.chromium.org/2000004/diff/19001/14002 File src/fast-dtoa.cc (right): http://codereview.chromium.org/2000004/diff/19001/14002#newcode490 src/fast-dtoa.cc:490: // * w is correct up to 1 ...
10 years, 4 months ago (2010-07-30 13:30:37 UTC) #2
Florian Loitsch
Please have another look. http://codereview.chromium.org/2000004/diff/19001/14002 File src/fast-dtoa.cc (right): http://codereview.chromium.org/2000004/diff/19001/14002#newcode78 src/fast-dtoa.cc:78: // ]w_low; w_low[ (often written ...
10 years, 3 months ago (2010-09-17 12:58:42 UTC) #3
William Hesse
LGTM. Comments seem clearer. http://codereview.chromium.org/2000004/diff/52001/56001 File src/fast-dtoa.cc (right): http://codereview.chromium.org/2000004/diff/52001/56001#newcode216 src/fast-dtoa.cc:216: // exception of the first ...
10 years, 3 months ago (2010-09-20 06:58:16 UTC) #4
Florian Loitsch
10 years, 3 months ago (2010-09-20 09:06:19 UTC) #5
http://codereview.chromium.org/2000004/diff/52001/56001
File src/fast-dtoa.cc (right):

http://codereview.chromium.org/2000004/diff/52001/56001#newcode518
src/fast-dtoa.cc:518: uint64_t unit = 1;
On 2010/09/20 06:58:16, William Hesse wrote:
> Could this be called precision, or precision_unit, so it is not as easy to
> confuse with one?
> 
> "The precision of w, which starts at 1 ulp and scales as we scale w to extract
> the digits."
> 

renamed to w_error. and updated comment.

Powered by Google App Engine
This is Rietveld 408576698