/external/icu/icu4c/source/test/intltest/ |
D | numbertest_decimalquantity.cpp | 117 assertEquals("Failed on initialize", u"1.234123412341234E+15", fq.toScientificString()); in testSwitchStorage() 122 assertEquals("Failed on multiply", u"1.2341234123412345E+16", fq.toScientificString()); in testSwitchStorage() 128 assertEquals("Failed on round", u"1.23412341234E+16", fq.toScientificString()); in testSwitchStorage() 191 assertEquals("Failed on append", u"1E+0", fq.toScientificString()); in testAppend() 194 assertEquals("Failed on append", u"1.2E+1", fq.toScientificString()); in testAppend() 197 assertEquals("Failed on append", u"1.203E+3", fq.toScientificString()); in testAppend() 200 assertEquals("Failed on append", u"1.203E+5", fq.toScientificString()); in testAppend() 203 assertEquals("Failed on append", u"1.203004E+6", fq.toScientificString()); in testAppend() 206 assertEquals("Failed on append", u"1.203004E+7", fq.toScientificString()); in testAppend() 209 assertEquals("Failed on append", u"1.20300405E+7", fq.toScientificString()); in testAppend() [all …]
|
D | numfmtdatadriventest.cpp | 380 UnicodeString expectedString = expectedQuantity.toScientificString(); in isParsePass() 388 UnicodeString actualString = result.getDecimalQuantity()->toScientificString(); in isParsePass() 424 UnicodeString resultStr = currAmt->getNumber().getDecimalQuantity()->toScientificString(); in isParseCurrencyPass() 433 UnicodeString expectedString = expectedQuantity.toScientificString(); in isParseCurrencyPass()
|
D | numfmtst.cpp | 9654 UnicodeString expectedUString = expectedDQ.toScientificString(); in Test13840_ParseLongStringCrash()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | DecimalQuantityTest.java | 309 assertEquals("Failed on initialize", "1.234123412341234E+15", fq.toScientificString()); in testSwitchStorage() 314 assertEquals("Failed on multiply", "1.2341234123412345E+16", fq.toScientificString()); in testSwitchStorage() 319 assertEquals("Failed on round", "1.23412341234E+16", fq.toScientificString()); in testSwitchStorage() 336 assertEquals("Failed on append", "1E+0", fq.toScientificString()); in testAppend() 339 assertEquals("Failed on append", "1.2E+1", fq.toScientificString()); in testAppend() 342 assertEquals("Failed on append", "1.203E+3", fq.toScientificString()); in testAppend() 345 assertEquals("Failed on append", "1.203E+5", fq.toScientificString()); in testAppend() 348 assertEquals("Failed on append", "1.203004E+6", fq.toScientificString()); in testAppend() 351 assertEquals("Failed on append", "1.203004E+7", fq.toScientificString()); in testAppend() 354 assertEquals("Failed on append", "1.20300405E+7", fq.toScientificString()); in testAppend() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
D | DecimalQuantityTest.java | 306 assertEquals("Failed on initialize", "1.234123412341234E+15", fq.toScientificString()); in testSwitchStorage() 311 assertEquals("Failed on multiply", "1.2341234123412345E+16", fq.toScientificString()); in testSwitchStorage() 316 assertEquals("Failed on round", "1.23412341234E+16", fq.toScientificString()); in testSwitchStorage() 333 assertEquals("Failed on append", "1E+0", fq.toScientificString()); in testAppend() 336 assertEquals("Failed on append", "1.2E+1", fq.toScientificString()); in testAppend() 339 assertEquals("Failed on append", "1.203E+3", fq.toScientificString()); in testAppend() 342 assertEquals("Failed on append", "1.203E+5", fq.toScientificString()); in testAppend() 345 assertEquals("Failed on append", "1.203004E+6", fq.toScientificString()); in testAppend() 348 assertEquals("Failed on append", "1.203004E+7", fq.toScientificString()); in testAppend() 351 assertEquals("Failed on append", "1.20300405E+7", fq.toScientificString()); in testAppend() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | number_output.cpp | 57 return fData->quantity1.toScientificString(); in UPRV_FORMATTED_VALUE_SUBCLASS_AUTO_IMPL() 62 return fData->quantity2.toScientificString(); in getSecondDecimal()
|
D | number_decimalquantity.h | 308 UnicodeString toScientificString() const;
|
D | number_decimalquantity.cpp | 622 UnicodeString numberString = this->toScientificString(); in toDouble() 933 UnicodeString DecimalQuantity::toScientificString() const { in toScientificString() function in DecimalQuantity
|
D | fmtable.cpp | 745 fDecimalStr->appendInvariantChars(fDecimalQuantity->toScientificString(), status); in internalGetCharString()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalQuantity_AbstractBCD.java | 714 toScientificString(sb); in toDouble() 1063 public String toScientificString() { in toScientificString() method in DecimalQuantity_AbstractBCD 1065 toScientificString(sb); in toScientificString() 1069 public void toScientificString(StringBuilder result) { in toScientificString() method in DecimalQuantity_AbstractBCD
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalQuantity_AbstractBCD.java | 716 toScientificString(sb); in toDouble() 1065 public String toScientificString() { in toScientificString() method in DecimalQuantity_AbstractBCD 1067 toScientificString(sb); in toScientificString() 1071 public void toScientificString(StringBuilder result) { in toScientificString() method in DecimalQuantity_AbstractBCD
|
/external/icu/libicu/cts_headers/ |
D | number_decimalquantity.h | 308 UnicodeString toScientificString() const;
|