Home
last modified time | relevance | path

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

12

/external/icu/icu4c/source/test/intltest/
Dnumbertest_decimalquantity.cpp67 fq.setToDouble(d); in checkDoubleBehavior()
99 fq.setToDouble(987.654321); in testDecimalQuantityBehaviorStandalone()
280 assertDoubleEquals(u"NaN check failed", NAN, DecimalQuantity().setToDouble(NAN).toDouble()); in testConvertToAccurateDouble()
282 u"Inf check failed", INFINITY, DecimalQuantity().setToDouble(INFINITY).toDouble()); in testConvertToAccurateDouble()
284 u"-Inf check failed", -INFINITY, DecimalQuantity().setToDouble(-INFINITY).toDouble()); in testConvertToAccurateDouble()
321 fq.setToDouble(cas.d); in testUseApproximateDoubleWhenAble()
353 q.setToDouble(cas.input); in testHardDoubleConversion()
382 dq.setToDouble(876.543); in testMaxDigits()
459 dq.setToDouble(cas.input); in testNickelRounding()
467 dq.setToDouble(7.1); in testNickelRounding()
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()
/external/icu/icu4c/source/i18n/
Dnumrange_capi.cpp119 result->fData.quantity1.setToDouble(first); in unumrf_formatDoubleRange()
120 result->fData.quantity2.setToDouble(second); in unumrf_formatDoubleRange()
Dnumber_decimalquantity.h218 DecimalQuantity &setToDouble(double n);
Dunits_complexconverter.cpp163 quant.setToDouble(quantity); in convert()
Dnumber_usageprefs.cpp141 quantity->setToDouble(measures[measures.length() - 1]->getNumber().getDouble()); in mixedMeasuresToMicros()
Dnumber_capi.cpp132 result->fData.quantity.setToDouble(value); in unumf_formatDouble()
Dquantityformatter.cpp190 fn.quantity.setToDouble(quantity); in formatAndSelect()
Dmeasfmt.cpp512 result.quantity.setToDouble(measure.getNumber().getDouble(status)); in formatMeasurePerUnit()
708 result.quantity.setToDouble(amtNumber.getDouble(status)); in formatMeasure()
Ddecimfmt.cpp523 output.quantity.setToDouble(number); in format()
546 output.quantity.setToDouble(number); in format()
570 output.quantity.setToDouble(number); in format()
Dplurfmt.cpp275 data.quantity.setToDouble(numberMinusOffset); in format()
Dnumber_fluent.cpp550 results->quantity.setToDouble(value); in formatDouble()
Dfmtable.cpp760 output.setToDouble(this->getDouble()); in populateDecimalQuantity()
Dnfsubs.cpp1076 dl.setToDouble(number); in doSubstitution()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_DualStorageBCD.java48 setToDouble(input); in DecimalQuantity_DualStorageBCD()
71 setToDouble(number.doubleValue()); in DecimalQuantity_DualStorageBCD()
73 setToDouble(number.doubleValue()); in DecimalQuantity_DualStorageBCD()
DDecimalQuantity_AbstractBCD.java428 public void setToDouble(double n) { in setToDouble() method in DecimalQuantity_AbstractBCD
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity_DualStorageBCD.java50 setToDouble(input); in DecimalQuantity_DualStorageBCD()
73 setToDouble(number.doubleValue()); in DecimalQuantity_DualStorageBCD()
75 setToDouble(number.doubleValue()); in DecimalQuantity_DualStorageBCD()
DDecimalQuantity_AbstractBCD.java430 public void setToDouble(double n) { in setToDouble() method in DecimalQuantity_AbstractBCD
/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/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/libicu/cts_headers/
Dnumber_decimalquantity.h218 DecimalQuantity &setToDouble(double n);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DDecimalQuantityTest.java426 fq.setToDouble(987.654321); in testDecimalQuantityBehaviorStandalone()
443 quantity.setToDouble(0.1); in testFitsInLong()
445 quantity.setToDouble(42.1); in testFitsInLong()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DDecimalQuantityTest.java423 fq.setToDouble(987.654321); in testDecimalQuantityBehaviorStandalone()
440 quantity.setToDouble(0.1); in testFitsInLong()
442 quantity.setToDouble(42.1); in testFitsInLong()

12