Shane Carr
1ef18dc761
ICU-20708 Fixing edge cases with negative infinity and NaN.
2019-07-23 15:03:49 -07:00
Jeff Genovy
5c8960e59e
ICU-20074 Revise UPRV_UNREACHABLE macro to always call abort().
...
Moved the macro from platform.h to uassert.h.
Removed any "unreachable" code that previously occurred after the UPRV_UNREACHABLE macro is used.
Changes based on review from Andy.
Co-authored-by: Daniel Ju <daju@microsoft.com>
2019-01-24 18:50:04 -08:00
Shane Carr
c31fec6b14
ICU-13746 Removing number formatting APIs deprecated in ICU 62.
...
Includes both ICU4C and ICU4J.
2019-01-24 14:50:03 -08:00
Daniel Ju
7453181fff
ICU-20074 Define UPRV_UNREACHABLE macro for unreachable code
...
Replaced occurrences of U_ASSERT(FALSE) with new UPRV_UNREACHABLE macro.
2019-01-14 14:16:26 -08:00
Shane Carr
ba21ff79c4
ICU-13701 Syncs C and J increment rounding. Checks for nickel sooner.
2018-11-08 17:13:17 -07:00
Shane Carr
a1cc16ccd3
ICU-13701 Refactoring DecimalQuantity: removing lOptPos/rOptPos.
...
Combined ICU4C and ICU4J.
2018-11-08 02:43:31 -07:00
Shane Carr
e27cf9ce39
ICU-13677 Changing NumberFormatter rounding setting to precision and roundingMode.
...
X-SVN-Rev: 41330
2018-05-05 06:32:29 +00:00
Shane Carr
f1e1a5c3f4
ICU-12572 Adding cpp-file definitions for all interface classes in number code, cleaning up an undefined behavior warning.
...
X-SVN-Rev: 41317
2018-05-03 09:13:46 +00:00
Shane Carr
607a60bc3b
ICU-13393 Removing the UPRV_INCOMPLETE_CPP11_SUPPORT flag since the number formatting code is no longer isolated from the rest of ICU.
...
X-SVN-Rev: 41266
2018-04-23 23:02:26 +00:00
Shane Carr
fe0725cd2a
ICU-13678 Changing Multiplier to use decNumber instead of double, in order to fix some unit tests. Refactored call sites to use a common DecNum wrapper class with constructors for string, double, and BCD.
...
X-SVN-Rev: 41198
2018-04-05 21:54:04 +00:00
Shane Carr
8d8f846755
ICU-13634 Fixing significant digit display on zero when minInt is zero.
...
X-SVN-Rev: 41178
2018-03-30 08:21:06 +00:00
Shane Carr
3574a63853
ICU-8610 API test is passing with the skeletons in C++. :)
...
X-SVN-Rev: 41154
2018-03-24 08:06:34 +00:00
Shane Carr
2edb4ec82a
ICU-13634 Formatting section of data-driven test file is passing.
...
X-SVN-Rev: 41120
2018-03-17 07:23:08 +00:00
Shane Carr
ad348faca9
ICU-13443 Change digit width types to int16_t and change maximum setting to 999. Adds test for this behavior in ICU4C. Also adds the new error code for ICU-13577 .
...
X-SVN-Rev: 40866
2018-02-08 06:06:08 +00:00
Markus Scherer
be3f0fdaaa
ICU-13461 add switch break to avoid unannotated fall-through
...
X-SVN-Rev: 40737
2017-12-14 22:03:41 +00:00
Shane Carr
5c054df085
ICU-13495 Optimizing chooseMultiplierAndApply method implementation.
...
X-SVN-Rev: 40732
2017-12-14 00:47:43 +00:00
Shane Carr
1ba7875371
ICU-13415 Setting error code in terminal NumberFormatter methods when applicable. Renaming unproposed error codes for consistency with existing error codes in utypes.h.
...
X-SVN-Rev: 40632
2017-10-25 01:26:48 +00:00
Shane Carr
1ec3a8c6bb
ICU-13411 Making "using namespace" statements consistent across number formatting cpp files.
...
X-SVN-Rev: 40630
2017-10-25 00:25:04 +00:00
Shane Carr
25fed96c72
ICU-13093 Disabling number formatting code on AIX and z/OS due to C++11 compatibility issues.
...
X-SVN-Rev: 40560
2017-10-05 00:47:38 +00:00
Norbert Runge
b536a39a74
ICU-13384 Adds #include unicode/utypes.h
...
X-SVN-Rev: 40557
2017-10-04 22:51:06 +00:00
Shane Carr
2d49e73b8a
ICU-13177 Cleanup before merge to trunk.
...
X-SVN-Rev: 40471
2017-09-27 05:31:57 +00:00
Shane Carr
d7a61a6e91
ICU-13177 NumberFormatter tests are passing.
...
X-SVN-Rev: 40467
2017-09-27 03:02:02 +00:00
Shane Carr
a01fc429cb
ICU-13177 Initial commit of ICU4C NumberFormatter
...
X-SVN-Rev: 40465
2017-09-27 00:25:20 +00:00