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

Unified Diff: Source/platform/Decimal.cpp

Issue 281033002: Fix MaxCoefficient static variable value in Decimal.cpp (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: use lowercase x Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/platform/DecimalTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/Decimal.cpp
diff --git a/Source/platform/Decimal.cpp b/Source/platform/Decimal.cpp
index 5ee960b6179d420649f8ff9c7bb02ada6c6798b8..f0ec03cb44dbff8fb61deb6348910fee3435b210 100644
--- a/Source/platform/Decimal.cpp
+++ b/Source/platform/Decimal.cpp
@@ -46,7 +46,7 @@ static int const ExponentMax = 1023;
static int const ExponentMin = -1023;
static int const Precision = 18;
-static const uint64_t MaxCoefficient = UINT64_C(0x16345785D89FFFF); // 999999999999999999 == 18 9's
+static const uint64_t MaxCoefficient = UINT64_C(0xDE0B6B3A763FFFF); // 999999999999999999 == 18 9's
// This class handles Decimal special values.
class SpecialValueHandler {
« no previous file with comments | « no previous file | Source/platform/DecimalTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698