Home
last modified time | relevance | path

Searched refs:setToDouble (Results 1 – 23 of 23) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dnumbertest_decimalquantity.cpp61 fq.setToDouble(d); in checkDoubleBehavior()
90 fq.setToDouble(987.654321); in testDecimalQuantityBehaviorStandalone()
262 assertDoubleEquals(u"NaN check failed", NAN, DecimalQuantity().setToDouble(NAN).toDouble()); in testConvertToAccurateDouble()
264 u"Inf check failed", INFINITY, DecimalQuantity().setToDouble(INFINITY).toDouble()); in testConvertToAccurateDouble()
266 u"-Inf check failed", -INFINITY, DecimalQuantity().setToDouble(-INFINITY).toDouble()); in testConvertToAccurateDouble()
303 fq.setToDouble(cas.d); in testUseApproximateDoubleWhenAble()
335 q.setToDouble(cas.input); in testHardDoubleConversion()
364 dq.setToDouble(876.543); in testMaxDigits()
Dnumfmtdatadriventest.cpp32 digitList.setToDouble(uprv_getNaN()); in strToDigitList()
36 digitList.setToDouble(-1 * uprv_getInfinity()); in strToDigitList()
40 digitList.setToDouble(uprv_getInfinity()); in strToDigitList()
258 doubleCheck.setToDouble(doubleVal); in isFormatPass()
Dnumfmtst.cpp8304 dq.setToDouble(-0.0); in Test10727_RoundingZero()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity_DualStorageBCD.java49 setToDouble(input); in DecimalQuantity_DualStorageBCD()
72 setToDouble(number.doubleValue()); in DecimalQuantity_DualStorageBCD()
74 setToDouble(number.doubleValue()); in DecimalQuantity_DualStorageBCD()
DDecimalQuantity_AbstractBCD.java406 public void setToDouble(double n) { in setToDouble() method in DecimalQuantity_AbstractBCD
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_DualStorageBCD.java47 setToDouble(input); in DecimalQuantity_DualStorageBCD()
70 setToDouble(number.doubleValue()); in DecimalQuantity_DualStorageBCD()
72 setToDouble(number.doubleValue()); in DecimalQuantity_DualStorageBCD()
DDecimalQuantity_AbstractBCD.java404 public void setToDouble(double n) { in setToDouble() method in DecimalQuantity_AbstractBCD
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DDecimalQuantityTest.java405 fq.setToDouble(987.654321); in testDecimalQuantityBehaviorStandalone()
422 quantity.setToDouble(0.1); in testFitsInLong()
424 quantity.setToDouble(42.1); in testFitsInLong()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DDecimalQuantityTest.java402 fq.setToDouble(987.654321); in testDecimalQuantityBehaviorStandalone()
419 quantity.setToDouble(0.1); in testFitsInLong()
421 quantity.setToDouble(42.1); in testFitsInLong()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_64BitBCD.java36 setToDouble(input); in DecimalQuantity_64BitBCD()
DDecimalQuantity_ByteArrayBCD.java36 setToDouble(input); in DecimalQuantity_ByteArrayBCD()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DDecimalQuantity_64BitBCD.java39 setToDouble(input); in DecimalQuantity_64BitBCD()
DDecimalQuantity_ByteArrayBCD.java39 setToDouble(input); in DecimalQuantity_ByteArrayBCD()
/external/icu/icu4c/source/i18n/
Dnumber_decimalquantity.h170 DecimalQuantity &setToDouble(double n);
Dnumber_capi.cpp130 result->quantity.setToDouble(value); in unumf_formatDouble()
Dnumber_decimalquantity.cpp182 dq.setToDouble(temp); in roundToIncrement()
186 setToDouble(temp); in roundToIncrement()
377 DecimalQuantity &DecimalQuantity::setToDouble(double n) { in setToDouble() function in DecimalQuantity
Dplurfmt.cpp275 data.quantity.setToDouble(numberMinusOffset); in format()
Dfmtable.cpp755 output.setToDouble(this->getDouble()); in populateDecimalQuantity()
Dnumber_fluent.cpp616 results->quantity.setToDouble(value); in formatDouble()
Dnfsubs.cpp1076 dl.setToDouble(number); in doSubstitution()
Dnumber_patternstring.cpp722 incrementQuantity.setToDouble(roundingInterval); in propertiesToPatternString()
Dnumber_skeletons.cpp1165 dq.setToDouble(increment); in generateIncrementOption()
Drbnf.cpp1288 digitList.setToDouble(number); in format()