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

Issue 281033002: Fix MaxCoefficient static variable value in Decimal.cpp (Closed)

Created:
6 years, 7 months ago by Inactive
Modified:
6 years, 7 months ago
Reviewers:
tkent, yosin_UTC9
CC:
blink-reviews
Visibility:
Public.

Description

Fix MaxCoefficient static variable value in Decimal.cpp Fix MaxCoefficient static variable value in Decimal.cpp to match the Precision and the corresponding comment. We use 18 as precision and the comment says MaxCoefficient should be 18 '9's in hexadecimal. However, 0x16345785D89FFFF is 99999999999999999 (17 '9's), not 18 '9's. The right hexadecimal value should be 0XDE0B6B3A763FFFF. R=tkent@chromium.org, yosin@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174294

Patch Set 1 #

Total comments: 2

Patch Set 2 : use lowercase x #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M Source/platform/Decimal.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/DecimalTest.cpp View 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Inactive
Note that I don't fully understand the code so the change may be wrong. I ...
6 years, 7 months ago (2014-05-14 02:29:11 UTC) #1
yosin_UTC9
ACK Thanks for finding this! Please wait for OWNERS review for committing. https://codereview.chromium.org/281033002/diff/1/Source/platform/Decimal.cpp File Source/platform/Decimal.cpp ...
6 years, 7 months ago (2014-05-19 05:36:25 UTC) #2
tkent
lgtm
6 years, 7 months ago (2014-05-19 05:40:34 UTC) #3
Inactive
https://codereview.chromium.org/281033002/diff/1/Source/platform/Decimal.cpp File Source/platform/Decimal.cpp (right): https://codereview.chromium.org/281033002/diff/1/Source/platform/Decimal.cpp#newcode49 Source/platform/Decimal.cpp:49: static const uint64_t MaxCoefficient = UINT64_C(0XDE0B6B3A763FFFF); // 999999999999999999 == ...
6 years, 7 months ago (2014-05-19 13:06:54 UTC) #4
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 7 months ago (2014-05-19 13:06:58 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/281033002/20001
6 years, 7 months ago (2014-05-19 13:07:12 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-19 14:16:58 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-19 15:06:01 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/8153)
6 years, 7 months ago (2014-05-19 15:06:02 UTC) #9
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 7 months ago (2014-05-19 15:15:02 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/281033002/20001
6 years, 7 months ago (2014-05-19 15:15:09 UTC) #11
commit-bot: I haz the power
6 years, 7 months ago (2014-05-19 15:52:13 UTC) #12
Message was sent while issue was closed.
Change committed as 174294

Powered by Google App Engine
This is Rietveld 408576698