| Index: source/i18n/fmtableimp.h
|
| diff --git a/source/i18n/fmtableimp.h b/source/i18n/fmtableimp.h
|
| index db7aa3e9e2ebbf062894b6e9f8b408ab81465a9c..b64274d568fb4f82eec30161adcb1308b6d53362 100644
|
| --- a/source/i18n/fmtableimp.h
|
| +++ b/source/i18n/fmtableimp.h
|
| @@ -1,6 +1,6 @@
|
| /*
|
| *******************************************************************************
|
| -* Copyright (C) 2010-2012, International Business Machines Corporation and *
|
| +* Copyright (C) 2010-2014, International Business Machines Corporation and *
|
| * others. All Rights Reserved. *
|
| *******************************************************************************
|
| */
|
| @@ -8,6 +8,9 @@
|
| #ifndef FMTABLEIMP_H
|
| #define FMTABLEIMP_H
|
|
|
| +#include "digitlst.h"
|
| +
|
| +U_NAMESPACE_BEGIN
|
|
|
| /**
|
| * @internal
|
| @@ -19,6 +22,15 @@ struct FmtStackData {
|
| // 192 total
|
| };
|
|
|
| +/**
|
| + * Maximum int64_t value that can be stored in a double without chancing losing precision.
|
| + * IEEE doubles have 53 bits of mantissa, 10 bits exponent, 1 bit sign.
|
| + * IBM Mainframes have 56 bits of mantissa, 7 bits of base 16 exponent, 1 bit sign.
|
| + * Define this constant to the smallest value from those for supported platforms.
|
| + * @internal
|
| + */
|
| +static const int64_t MAX_INT64_IN_DOUBLE = 0x001FFFFFFFFFFFFFLL;
|
|
|
| +U_NAMESPACE_END
|
|
|
| #endif
|
|
|