Home
last modified time | relevance | path

Searched refs:isInfinite (Results 1 – 25 of 104) sorted by relevance

12345

/external/apache-commons-math/src/main/java/org/apache/commons/math/complex/
DComplex.java80 private final transient boolean isInfinite; field in Complex
94 isInfinite = !isNaN && in Complex()
95 (Double.isInfinite(real) || Double.isInfinite(imaginary)); in Complex()
113 if (isInfinite()) { in abs()
221 if (rhs.isInfinite() && !isInfinite()) { in divide()
326 public boolean isInfinite() { in isInfinite() method in Complex
327 return isInfinite; in isInfinite()
361 if (Double.isInfinite(real) || Double.isInfinite(imaginary) || in multiply()
362 Double.isInfinite(rhs.real)|| Double.isInfinite(rhs.imaginary)) { in multiply()
400 if (Double.isInfinite(real) || Double.isInfinite(imaginary) || in multiply()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DContinuedFraction.java143 if (Double.isInfinite(p2) || Double.isInfinite(q2)) { in evaluate()
169 infinite = Double.isInfinite(p2) || Double.isInfinite(q2); in evaluate()
DFastMath.java1482 if (Double.isInfinite(lores)){ // don't allow this to be converted to NaN in log1p()
1512 if (Double.isInfinite(lores)){ // don't allow this to be converted to NaN in log10()
1664 if (Double.isInfinite(lores)){ // don't allow this to be converted to NaN in pow()
3032 if (Double.isInfinite(r)) { // bypass calculations that can create NaN in atan2()
3200 if (Double.isInfinite(r)) { // x is effectively zero in acos()
3308 if (Double.isInfinite(x) || x == 0.0) { // Matches +/- 0.0; return correct sign in toRadians()
3333 if (Double.isInfinite(x) || x == 0.0) { // Matches +/- 0.0; return correct sign in toDegrees()
3389 if (Double.isInfinite(x)) { in ulp()
3401 if (Float.isInfinite(x)) { in ulp()
3421 if (Double.isNaN(d) || Double.isInfinite(d) || (d == 0)) { in scalb()
[all …]
DCompositeFormat.java210 if( Double.isNaN(value) || Double.isInfinite(value) ) { in formatDouble()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DNonStandardParserFeaturesTest.java223 assertTrue(Double.isInfinite(d)); in _testAllowInf()
229 assertTrue(Double.isInfinite(d)); in _testAllowInf()
235 assertTrue(Double.isInfinite(d)); in _testAllowInf()
241 assertTrue(Double.isInfinite(d)); in _testAllowInf()
247 assertTrue(Double.isInfinite(d)); in _testAllowInf()
/external/crcalc/tests/src/com/hp/creals/
DConversionTest.java36 if (!Double.isNaN(x) && !Double.isInfinite(x)) { in checkDoubleConversion()
43 if (!Float.isNaN(f) && !Float.isInfinite(f)) { in checkFloatConversion()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/
DAsyncNaNHandlingTest.java150 assertTrue(Double.isInfinite(d)); in _testAllowInf()
156 assertTrue(Double.isInfinite(d)); in _testAllowInf()
162 assertTrue(Double.isInfinite(d)); in _testAllowInf()
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
DVector3D.java390 public boolean isInfinite() { in isInfinite() method in Vector3D
391 return !isNaN() && (Double.isInfinite(x) || Double.isInfinite(y) || Double.isInfinite(z)); in isInfinite()
/external/cldr/tools/java/com/ibm/icu/text/
DFixedDecimal.java242 if (Double.isInfinite(n) || Double.isNaN(n)) { in decimals()
675 public boolean isInfinite() { in isInfinite() method in FixedDecimal
676 return Double.isInfinite(source); in isInfinite()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity_AbstractBCD.java329 boolean isZero = (isZeroish() && !isInfinite()); in signum()
343 public boolean isInfinite() { in isInfinite() method in DecimalQuantity_AbstractBCD
442 } else if (Double.isInfinite(n)) { in setToDouble()
667 if (isInfinite() || isNaN()) { in fitsInLong()
711 } else if (isInfinite()) { in toDouble()
DDecimalQuantity.java161 public boolean isInfinite(); in isInfinite() method
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_AbstractBCD.java327 boolean isZero = (isZeroish() && !isInfinite()); in signum()
341 public boolean isInfinite() { in isInfinite() method in DecimalQuantity_AbstractBCD
440 } else if (Double.isInfinite(n)) { in setToDouble()
665 if (isInfinite() || isNaN()) { in fitsInLong()
709 } else if (isInfinite()) { in toDouble()
DDecimalQuantity.java159 public boolean isInfinite(); in isInfinite() method
/external/testng/src/main/java/org/testng/
DAssertJUnit.java120 if(Double.isInfinite(expected)) { in assertEquals()
147 if(Float.isInfinite(expected)) { in assertEquals()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DDoubleNode.java98 return Double.isNaN(_value) || Double.isInfinite(_value); in isNaN()
DFloatNode.java99 return Float.isNaN(_value) || Float.isInfinite(_value); in isNaN()
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/common/ops/
DNormalizeOp.java69 if (mean == 0.0f && (stddev == 0.0f || Float.isInfinite(stddev))) { in NormalizeOp()
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/
DAbstractUnivariateStatistic.java211 if (Double.isInfinite(weights[i])) { in test()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DTestSimpleTypes.java89 if (Float.isNaN(f) || Float.isInfinite(f)) { in testFloat()
/external/icu/libicu/cts_headers/
Dplurrule_impl.h264 virtual bool isInfinite() const = 0;
298 bool isInfinite() const U_OVERRIDE;
/external/icu/icu4c/source/i18n/
Dplurrule_impl.h264 virtual bool isInfinite() const = 0;
298 bool isInfinite() const U_OVERRIDE;
/external/geojson-jackson/src/main/java/org/geojson/
DLngLatAlt.java100 if (Double.isInfinite(element)) { in setAdditionalElements()
/external/apache-xml/src/main/java/org/apache/xpath/objects/
DXNumber.java284 else if (Double.isInfinite(m_val)) in str()
/external/guava/guava/src/com/google/common/math/
DToDoubleRounder.java49 if (Double.isInfinite(roundArbitrarily)) { in roundToDouble()
/external/guava/android/guava/src/com/google/common/math/
DToDoubleRounder.java49 if (Double.isInfinite(roundArbitrarily)) { in roundToDouble()

12345