/external/icu/icu4c/source/test/intltest/ |
D | numbertest_decimalquantity.cpp | 108 assertEquals("Failed on initialize", u"1.234123412341234E+15", fq.toScientificString()); in testSwitchStorage() 113 assertEquals("Failed on multiply", u"1.2341234123412345E+16", fq.toScientificString()); in testSwitchStorage() 119 assertEquals("Failed on round", u"1.23412341234E+16", fq.toScientificString()); in testSwitchStorage() 173 assertEquals("Failed on append", u"1E+0", fq.toScientificString()); in testAppend() 176 assertEquals("Failed on append", u"1.2E+1", fq.toScientificString()); in testAppend() 179 assertEquals("Failed on append", u"1.203E+3", fq.toScientificString()); in testAppend() 182 assertEquals("Failed on append", u"1.203E+5", fq.toScientificString()); in testAppend() 185 assertEquals("Failed on append", u"1.203004E+6", fq.toScientificString()); in testAppend() 188 assertEquals("Failed on append", u"1.203004E+7", fq.toScientificString()); in testAppend() 191 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 | 9260 UnicodeString expectedUString = expectedDQ.toScientificString(); in Test13840_ParseLongStringCrash()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/ |
D | DecimalQuantityTest.java | 298 assertEquals("Failed on initialize", "1.234123412341234E+15", fq.toScientificString()); in testSwitchStorage() 303 assertEquals("Failed on multiply", "1.2341234123412345E+16", fq.toScientificString()); in testSwitchStorage() 308 assertEquals("Failed on round", "1.23412341234E+16", fq.toScientificString()); in testSwitchStorage() 316 assertEquals("Failed on append", "1E+0", fq.toScientificString()); in testAppend() 319 assertEquals("Failed on append", "1.2E+1", fq.toScientificString()); in testAppend() 322 assertEquals("Failed on append", "1.203E+3", fq.toScientificString()); in testAppend() 325 assertEquals("Failed on append", "1.203E+5", fq.toScientificString()); in testAppend() 328 assertEquals("Failed on append", "1.203004E+6", fq.toScientificString()); in testAppend() 331 assertEquals("Failed on append", "1.203004E+7", fq.toScientificString()); in testAppend() 334 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 | 295 assertEquals("Failed on initialize", "1.234123412341234E+15", fq.toScientificString()); in testSwitchStorage() 300 assertEquals("Failed on multiply", "1.2341234123412345E+16", fq.toScientificString()); in testSwitchStorage() 305 assertEquals("Failed on round", "1.23412341234E+16", fq.toScientificString()); in testSwitchStorage() 313 assertEquals("Failed on append", "1E+0", fq.toScientificString()); in testAppend() 316 assertEquals("Failed on append", "1.2E+1", fq.toScientificString()); in testAppend() 319 assertEquals("Failed on append", "1.203E+3", fq.toScientificString()); in testAppend() 322 assertEquals("Failed on append", "1.203E+5", fq.toScientificString()); in testAppend() 325 assertEquals("Failed on append", "1.203004E+6", fq.toScientificString()); in testAppend() 328 assertEquals("Failed on append", "1.203004E+7", fq.toScientificString()); in testAppend() 331 assertEquals("Failed on append", "1.20300405E+7", fq.toScientificString()); in testAppend() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | DecimalQuantity_AbstractBCD.java | 972 public String toScientificString() { in toScientificString() method in DecimalQuantity_AbstractBCD 974 toScientificString(sb); in toScientificString() 978 public void toScientificString(StringBuilder result) { in toScientificString() method in DecimalQuantity_AbstractBCD
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | DecimalQuantity_AbstractBCD.java | 970 public String toScientificString() { in toScientificString() method in DecimalQuantity_AbstractBCD 972 toScientificString(sb); in toScientificString() 976 public void toScientificString(StringBuilder result) { in toScientificString() method in DecimalQuantity_AbstractBCD
|
/external/icu/icu4c/source/i18n/ |
D | number_decimalquantity.h | 254 UnicodeString toScientificString() const;
|
D | numrange_fluent.cpp | 441 return fResults->quantity1.toScientificString(); in getFirstDecimal() 452 return fResults->quantity2.toScientificString(); in getSecondDecimal()
|
D | number_decimalquantity.cpp | 578 UnicodeString numberString = this->toScientificString(); in toDouble() 799 UnicodeString DecimalQuantity::toScientificString() const { in toScientificString() function in DecimalQuantity
|
D | fmtable.cpp | 740 fDecimalStr->appendInvariantChars(fDecimalQuantity->toScientificString(), status); in internalGetCharString()
|