]> granicus.if.org Git - icu/commit
ICU-20494 Fixes to very large magnitude exponents in number parsing.
authorShane Carr <shane@unicode.org>
Wed, 13 Mar 2019 01:06:21 +0000 (18:06 -0700)
committerShane F. Carr <shane@unicode.org>
Mon, 25 Mar 2019 14:17:36 +0000 (07:17 -0700)
commite318c0c374330906a561933cd54304a665d1b22e
treebe66a7c7f67905121e9bd4eb50bb2ca2b2947c56
parentb5ad35dda8089d798f05508bf7f17a3049e9eca0
ICU-20494 Fixes to very large magnitude exponents in number parsing.

- Do not depend on ArithmeticException string in ICU4J.
- Return correct string in ICU4C.
- Fix related issue in applyMaxInteger.
icu4c/source/i18n/fmtable.cpp
icu4c/source/i18n/number_decimalquantity.cpp
icu4c/source/test/intltest/numbertest_api.cpp
icu4c/source/test/intltest/numfmtst.cpp
icu4j/main/classes/core/src/com/ibm/icu/impl/number/DecimalQuantity_AbstractBCD.java
icu4j/main/classes/core/src/com/ibm/icu/impl/number/DecimalQuantity_DualStorageBCD.java
icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/NumberFormatTest.java
icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/NumberFormatterApiTest.java