/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/ |
H A D | ExhaustiveNumberTest.java | 173 new DecimalQuantity_DualStorageBCD(Double.NaN).toDouble()); in testConvertToAccurateDouble() 176 new DecimalQuantity_DualStorageBCD(Double.POSITIVE_INFINITY).toDouble()); in testConvertToAccurateDouble() 179 new DecimalQuantity_DualStorageBCD(Double.NEGATIVE_INFINITY).toDouble()); in testConvertToAccurateDouble() 202 .assertDoubleEquals(alert + "After conversion to exact BCD (double)", d, fq.toDouble()); in checkDoubleBehavior()
|
H A D | DecimalQuantityTest.java | 268 q0.toDouble(), in testDecimalQuantityBehavior() 269 q1.toDouble()); in testDecimalQuantityBehavior() 517 double actual = q.toDouble(); in testToDouble() 534 assertEquals("Should trim, toDouble", 76.54, dq.toDouble()); in testMaxDigits() 686 double actualDouble = dq.toDouble(); in testCompactDecimalSuppressedExponent() 700 String.format("compact decimal %s toDouble: %f", skeleton, input), in testCompactDecimalSuppressedExponent()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/ |
H A D | ExhaustiveNumberTest.java | 172 new DecimalQuantity_DualStorageBCD(Double.NaN).toDouble()); in testConvertToAccurateDouble() 175 new DecimalQuantity_DualStorageBCD(Double.POSITIVE_INFINITY).toDouble()); in testConvertToAccurateDouble() 178 new DecimalQuantity_DualStorageBCD(Double.NEGATIVE_INFINITY).toDouble()); in testConvertToAccurateDouble() 201 .assertDoubleEquals(alert + "After conversion to exact BCD (double)", d, fq.toDouble()); in checkDoubleBehavior()
|
H A D | DecimalQuantityTest.java | 265 q0.toDouble(), in testDecimalQuantityBehavior() 266 q1.toDouble()); in testDecimalQuantityBehavior() 526 double actual = q.toDouble(); in testToDouble() 543 assertEquals("Should trim, toDouble", 76.54, dq.toDouble()); in testMaxDigits() 698 double actualDouble = dq.toDouble(); in testScientificAndCompactSuppressedExponent() 713 String.format("formatted number %s toDouble: %f", skeleton, input), in testScientificAndCompactSuppressedExponent()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | numbertest_decimalquantity.cpp | 81 d, fq.toDouble()); 285 assertDoubleEquals(u"NaN check failed", NAN, DecimalQuantity().setToDouble(NAN).toDouble()); 287 u"Inf check failed", INFINITY, DecimalQuantity().setToDouble(INFINITY).toDouble()); 289 u"-Inf check failed", -INFINITY, DecimalQuantity().setToDouble(-INFINITY).toDouble()); 417 double actual = q.toDouble(); 435 assertEquals("Should trim, toDouble", 76.54, dq.toDouble()); 597 double actualDouble = dq.toDouble(); 611 u"formatted number " + cas.skeleton + u" toDouble: " + cas.input,
|
H A D | units_test.cpp | 116 double expectedNumerator = dqVal.toDouble(); in testUnitConstantFreshness() 821 _amounts[_compoundCount] = dqOutputD.toDouble(); in parseOutputField() 934 double inputAmount = dqInputD.toDouble(); in unitPreferencesTestDataLineFn()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | number_usageprefs.cpp | 167 quantity.roundToInfinity(); // Enables toDouble in processQuantity() 168 const units::RouteResult routed = fUnitsRouter.route(quantity.toDouble(), µs.rounder, status); in processQuantity() 203 quantity.roundToInfinity(); // Enables toDouble in processQuantity() 205 fUnitConverter->convert(quantity.toDouble(), µs.rounder, status); in processQuantity()
|
H A D | numparse_parsednumber.cpp | 84 return quantity.toDouble(); in getDouble()
|
H A D | plurrule.cpp | 412 double dblValue = dq.toDouble(); in getSamplesFromString() 426 if (rangeHi.toDouble() < rangeLo.toDouble()) { in getSamplesFromString() 437 double incrementVal = incrementDq.toDouble(); // 10 ^ incrementScale in getSamplesFromString() 441 double dblValue = dq.toDouble(); in getSamplesFromString() 442 double end = rangeHi.toDouble(); in getSamplesFromString() 475 dblValue = newDq.toDouble(); in getSamplesFromString() 1701 double n = dl.toDouble(); in FixedDecimal()
|
H A D | number_decimalquantity.h | 225 double toDouble() const;
|
H A D | units_complexconverter.cpp | 243 quantity = decimalQuantity.toDouble(); in applyRounder()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | number_usageprefs.cpp | 169 quantity.roundToInfinity(); // Enables toDouble in processQuantity() 170 const units::RouteResult routed = fUnitsRouter.route(quantity.toDouble(), µs.rounder, status); in processQuantity() 205 quantity.roundToInfinity(); // Enables toDouble in processQuantity() 207 fUnitConverter->convert(quantity.toDouble(), µs.rounder, status); in processQuantity()
|
H A D | numparse_parsednumber.cpp | 84 return quantity.toDouble(); in getDouble()
|
H A D | plurrule.cpp | 416 double dblValue = dq.toDouble(); in getSamplesFromString() 430 if (rangeHi.toDouble() < rangeLo.toDouble()) { in getSamplesFromString() 441 double incrementVal = incrementDq.toDouble(); // 10 ^ incrementScale in getSamplesFromString() 445 double dblValue = dq.toDouble(); in getSamplesFromString() 446 double end = rangeHi.toDouble(); in getSamplesFromString() 479 dblValue = newDq.toDouble(); in getSamplesFromString() 1705 double n = dl.toDouble(); in FixedDecimal()
|
H A D | number_decimalquantity.h | 225 double toDouble() const;
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | number_usageprefs.cpp | 167 quantity.roundToInfinity(); // Enables toDouble in processQuantity() 168 const units::RouteResult routed = fUnitsRouter.route(quantity.toDouble(), µs.rounder, status); in processQuantity() 203 quantity.roundToInfinity(); // Enables toDouble in processQuantity() 205 fUnitConverter->convert(quantity.toDouble(), µs.rounder, status); in processQuantity()
|
H A D | numparse_parsednumber.cpp | 84 return quantity.toDouble(); in getDouble()
|
H A D | number_decimalquantity.h | 209 double toDouble() const;
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
H A D | DecimalQuantity.java | 171 public double toDouble(); in toDouble() method
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
H A D | DecimalQuantity.java | 168 public double toDouble(); in toDouble() method
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/ |
H A D | DecimalQuantity_SimpleStorage.java | 577 public double toDouble() { in toDouble() method in DecimalQuantity_SimpleStorage 612 String ruleString = rules.select(toDouble()); in getStandardPlural() 620 return new PluralRules.FixedDecimal(toDouble()).getPluralOperand(operand); in getPluralOperand()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/impl/number/ |
H A D | DecimalQuantity_SimpleStorage.java | 570 public double toDouble() { in toDouble() method in DecimalQuantity_SimpleStorage 605 String ruleString = rules.select(toDouble()); in getStandardPlural() 613 return new PluralRules.FixedDecimal(toDouble()).getPluralOperand(operand); in getPluralOperand()
|
/third_party/node/src/inspector/ |
H A D | node_string.h | 62 double toDouble(const char* buffer, size_t length, bool* ok);
|
H A D | node_string.cc | 92 double toDouble(const char* buffer, size_t length, bool* ok) { in toDouble() function
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | PluralRules.java | 1277 for (DecimalQuantity dq = start.createCopy(); dq.toDouble() <= end.toDouble(); ) { in addSamples() 1279 double dblValue = dq.toDouble(); in addSamples() 2303 return uniqValDq.toDouble(); in getUniqueKeywordValue() 2340 result.add(dq.toDouble()); in getAllKeywordValues() 2434 result.add(dq.toDouble()); in getSamples()
|