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

Side by Side Diff: source/i18n/digitlst.cpp

Issue 2442923002: ICU update to 58 part 2 (Closed)
Patch Set: apply more patches and updates; almost ready to roll Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « source/data/zone/zh_Hant.txt ('k') | source/i18n/scriptset.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (C) 2016 and later: Unicode, Inc. and others. 1 // Copyright (C) 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html 2 // License & terms of use: http://www.unicode.org/copyright.html
3 /* 3 /*
4 ********************************************************************** 4 **********************************************************************
5 * Copyright (C) 1997-2015, International Business Machines 5 * Copyright (C) 1997-2015, International Business Machines
6 * Corporation and others. All Rights Reserved. 6 * Corporation and others. All Rights Reserved.
7 ********************************************************************** 7 **********************************************************************
8 * 8 *
9 * File DIGITLST.CPP 9 * File DIGITLST.CPP
10 * 10 *
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #if !defined(U_USE_STRTOD_L) 53 #if !defined(U_USE_STRTOD_L)
54 # if U_PLATFORM_USES_ONLY_WIN32_API 54 # if U_PLATFORM_USES_ONLY_WIN32_API
55 # define U_USE_STRTOD_L 1 55 # define U_USE_STRTOD_L 1
56 # elif defined(U_HAVE_STRTOD_L) 56 # elif defined(U_HAVE_STRTOD_L)
57 # define U_USE_STRTOD_L U_HAVE_STRTOD_L 57 # define U_USE_STRTOD_L U_HAVE_STRTOD_L
58 # else 58 # else
59 # define U_USE_STRTOD_L 0 59 # define U_USE_STRTOD_L 0
60 # endif 60 # endif
61 #endif 61 #endif
62 62
63 #if U_USE_STRTOD_L && !U_PLATFORM_USES_ONLY_WIN32_API 63 #if U_USE_STRTOD_L
64 # if U_PLATFORM == U_PF_CYGWIN 64 # if U_PLATFORM_USES_ONLY_WIN32_API || U_PLATFORM == U_PF_CYGWIN
65 # include <locale.h> 65 # include <locale.h>
66 # else 66 # else
67 # include <xlocale.h> 67 # include <xlocale.h>
68 # endif 68 # endif
69 #endif 69 #endif
70 70
71 // *************************************************************************** 71 // ***************************************************************************
72 // class DigitList 72 // class DigitList
73 // A wrapper onto decNumber. 73 // A wrapper onto decNumber.
74 // Used to be standalone. 74 // Used to be standalone.
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after
1085 void 1085 void
1086 DigitList::shiftDecimalRight(int32_t n) { 1086 DigitList::shiftDecimalRight(int32_t n) {
1087 fDecNumber->exponent += n; 1087 fDecNumber->exponent += n;
1088 internalClear(); 1088 internalClear();
1089 } 1089 }
1090 1090
1091 U_NAMESPACE_END 1091 U_NAMESPACE_END
1092 #endif // #if !UCONFIG_NO_FORMATTING 1092 #endif // #if !UCONFIG_NO_FORMATTING
1093 1093
1094 //eof 1094 //eof
OLDNEW
« no previous file with comments | « source/data/zone/zh_Hant.txt ('k') | source/i18n/scriptset.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698