Home
last modified time | relevance | path

Searched refs:toDouble (Results 1 – 25 of 43) sorted by relevance

12

/external/apache-xml/src/main/java/org/apache/xpath/objects/
DXNodeSet.java151 return xstr.toDouble(); in getNumberFromNode()
774 return (s1.toDouble() < s2.toDouble()); in compareStrings()
810 return (s1.toDouble() <= s2.toDouble()); in compareStrings()
846 return (s1.toDouble() > s2.toDouble()); in compareStrings()
882 return (s1.toDouble() >= s2.toDouble()); in compareStrings()
DXString.java104 return toDouble(); in num()
114 public double toDouble() in toDouble() method in XString
DXRTreeFrag.java157 return s.toDouble(); in num()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DExhaustiveNumberTest.java173 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()
DDecimalQuantityTest.java263 q0.toDouble(), in testDecimalQuantityBehavior()
264 q1.toDouble()); in testDecimalQuantityBehavior()
512 double actual = q.toDouble(); in testToDouble()
529 assertEquals("Should trim, toDouble", 76.54, dq.toDouble()); in testMaxDigits()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DExhaustiveNumberTest.java170 new DecimalQuantity_DualStorageBCD(Double.NaN).toDouble()); in testConvertToAccurateDouble()
173 new DecimalQuantity_DualStorageBCD(Double.POSITIVE_INFINITY).toDouble()); in testConvertToAccurateDouble()
176 new DecimalQuantity_DualStorageBCD(Double.NEGATIVE_INFINITY).toDouble()); in testConvertToAccurateDouble()
199 … .assertDoubleEquals(alert + "After conversion to exact BCD (double)", d, fq.toDouble()); in checkDoubleBehavior()
DDecimalQuantityTest.java260 q0.toDouble(), in testDecimalQuantityBehavior()
261 q1.toDouble()); in testDecimalQuantityBehavior()
509 double actual = q.toDouble(); in testToDouble()
526 assertEquals("Should trim, toDouble", 76.54, dq.toDouble()); in testMaxDigits()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_decimalquantity.cpp77 d, fq.toDouble()); in checkDoubleBehavior()
278 assertDoubleEquals(u"NaN check failed", NAN, DecimalQuantity().setToDouble(NAN).toDouble()); in testConvertToAccurateDouble()
280 u"Inf check failed", INFINITY, DecimalQuantity().setToDouble(INFINITY).toDouble()); in testConvertToAccurateDouble()
282 u"-Inf check failed", -INFINITY, DecimalQuantity().setToDouble(-INFINITY).toDouble()); in testConvertToAccurateDouble()
372 double actual = q.toDouble(); in testToDouble()
390 assertEquals("Should trim, toDouble", 76.54, dq.toDouble()); in testMaxDigits()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/channels/
DTickerChannelCommonTest.kt118 if (n != 0) send(sum / n.toDouble()) in <lambda>()
129 send(sum / n.toDouble()) in <lambda>()
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/
DForkJoinBenchmark.kt105 result += Math.sin(Math.pow(coefficients[i].toDouble(), 1.1)) + 1e-8 in compute()
152 result += Math.sin(Math.pow(coefficients[i].toDouble(), 1.1)) + 1e-8 in compute()
/external/kotlinx.coroutines/ui/kotlinx-coroutines-android/animation-app/app/src/main/java/org/jetbrains/kotlinx/animation/
DAnimation.kt86 private fun norm(x: Float, y: Float) = Math.hypot(x.toDouble(), y.toDouble()).toFloat() in norm()
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DFuncSum.java59 sum += s.toDouble(); in execute()
DFunctionDef1Arg.java126 return str.toDouble(); in getArg0AsNumber()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity.java147 public double toDouble(); in toDouble() method
DDecimalQuantity_AbstractBCD.java251 return Math.abs(toDouble()); in getPluralOperand()
663 public double toDouble() { in toDouble() method in DecimalQuantity_AbstractBCD
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity.java145 public double toDouble(); in toDouble() method
DDecimalQuantity_AbstractBCD.java249 return Math.abs(toDouble()); in getPluralOperand()
661 public double toDouble() { in toDouble() method in DecimalQuantity_AbstractBCD
/external/icu/icu4c/source/i18n/
Dnumparse_parsednumber.cpp84 return quantity.toDouble(); in getDouble()
Dnumber_decimalquantity.h179 double toDouble() const;
/external/apache-xml/src/main/java/org/apache/xml/utils/
DXMLString.java688 public double toDouble(); in toDouble() method
DXMLStringDefault.java808 public double toDouble() in toDouble() method in XMLStringDefault
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/scheduling/
DCoroutineSchedulerTest.kt140 val ratio = i.toDouble() / bucketSize in <lambda>()
/external/kotlinx.coroutines/ui/kotlinx-coroutines-javafx/src/
DJavaFxDispatcher.kt56 … Timeline(KeyFrame(Duration.millis(unit.toMillis(time).toDouble()), handler)).apply { play() } in <lambda>()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java550 public double toDouble() {
585 String ruleString = rules.select(toDouble());
593 return new PluralRules.FixedDecimal(toDouble()).getPluralOperand(operand);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java553 public double toDouble() {
588 String ruleString = rules.select(toDouble());
596 return new PluralRules.FixedDecimal(toDouble()).getPluralOperand(operand);

12