Home
last modified time | relevance | path

Searched refs:toDouble (Results 1 – 25 of 46) 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()
DXStringForFSB.java947 public double toDouble() in toDouble() method in XStringForFSB
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DExhaustiveNumberTest.java152 new DecimalQuantity_DualStorageBCD(Double.NaN).toDouble()); in testConvertToAccurateDouble()
155 new DecimalQuantity_DualStorageBCD(Double.POSITIVE_INFINITY).toDouble()); in testConvertToAccurateDouble()
158 new DecimalQuantity_DualStorageBCD(Double.NEGATIVE_INFINITY).toDouble()); in testConvertToAccurateDouble()
181 … .assertDoubleEquals(alert + "After conversion to exact BCD (double)", d, fq.toDouble()); in checkDoubleBehavior()
DDecimalQuantityTest.java257 q0.toDouble(), in testDecimalQuantityBehavior()
258 q1.toDouble()); in testDecimalQuantityBehavior()
497 double actual = q.toDouble(); in testToDouble()
513 assertEquals("Should trim, toDouble", 76.54, dq.toDouble()); in testMaxDigits()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DExhaustiveNumberTest.java149 new DecimalQuantity_DualStorageBCD(Double.NaN).toDouble()); in testConvertToAccurateDouble()
152 new DecimalQuantity_DualStorageBCD(Double.POSITIVE_INFINITY).toDouble()); in testConvertToAccurateDouble()
155 new DecimalQuantity_DualStorageBCD(Double.NEGATIVE_INFINITY).toDouble()); in testConvertToAccurateDouble()
178 … .assertDoubleEquals(alert + "After conversion to exact BCD (double)", d, fq.toDouble()); in checkDoubleBehavior()
DDecimalQuantityTest.java254 q0.toDouble(), in testDecimalQuantityBehavior()
255 q1.toDouble()); in testDecimalQuantityBehavior()
494 double actual = q.toDouble(); in testToDouble()
510 assertEquals("Should trim, toDouble", 76.54, dq.toDouble()); in testMaxDigits()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_decimalquantity.cpp73 d, fq.toDouble()); in checkDoubleBehavior()
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()
356 double actual = q.toDouble(); in testToDouble()
372 assertEquals("Should trim, toDouble", 76.54, dq.toDouble()); in testMaxDigits()
/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.java128 public double toDouble(); in toDouble() method
DDecimalQuantity_AbstractBCD.java257 return Math.abs(toDouble()); in getPluralOperand()
664 public double toDouble() { in toDouble() method in DecimalQuantity_AbstractBCD
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity.java126 public double toDouble(); in toDouble() method
DDecimalQuantity_AbstractBCD.java255 return Math.abs(toDouble()); in getPluralOperand()
662 public double toDouble() { in toDouble() method in DecimalQuantity_AbstractBCD
/external/icu/icu4c/source/i18n/
Dnumparse_parsednumber.cpp80 return quantity.toDouble(); in getDouble()
Dnumber_decimalquantity.cpp178 double temp = toDouble(); in roundToIncrement()
184 temp = dq.toDouble(); in roundToIncrement()
259 return std::abs(toDouble()); in getPluralOperand()
565 double DecimalQuantity::toDouble() const { in toDouble() function in DecimalQuantity
Dnumber_decimalquantity.h161 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/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java542 public double toDouble() {
577 String ruleString = rules.select(toDouble());
585 return new PluralRules.FixedDecimal(toDouble()).getPluralOperand(operand);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java545 public double toDouble() {
580 String ruleString = rules.select(toDouble());
588 return new PluralRules.FixedDecimal(toDouble()).getPluralOperand(operand);
/external/v8/src/inspector/
Dstring-util.h35 static double toDouble(const char* s, size_t len, bool* isOk);
Dstring-util.cc101 double StringUtil::toDouble(const char* s, size_t len, bool* isOk) { in toDouble() function in v8_inspector::protocol::StringUtil
/external/deqp/executor/
DxeTestResultParser.cpp44 static inline double toDouble (const char* str) in toDouble() function
279 const double num = toDouble(stripLeadingWhitespace(value.c_str())); in getNumericValue()

12