Home
last modified time | relevance | path

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

123

/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()
DMathUtils.java1325 if (Double.isNaN(d) || Double.isInfinite(d)) {
1422 if (Double.isInfinite(normalizedSum)) {
1434 if (Double.isInfinite(values[i])) {
1487 if (Double.isInfinite(x)) {
/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/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/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity_AbstractBCD.java196 if (isInfinite() || isZero() || isNaN()) { in multiplyBy()
319 public boolean isInfinite() { in isInfinite() method in DecimalQuantity_AbstractBCD
416 } else if (Double.isInfinite(n)) { in setToDouble()
671 } else if (isInfinite()) { in toDouble()
690 if (Double.isInfinite(result)) { in toDouble()
DDecimalQuantity.java121 public boolean isInfinite(); in isInfinite() method
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity_AbstractBCD.java194 if (isInfinite() || isZero() || isNaN()) { in multiplyBy()
317 public boolean isInfinite() { in isInfinite() method in DecimalQuantity_AbstractBCD
414 } else if (Double.isInfinite(n)) { in setToDouble()
669 } else if (isInfinite()) { in toDouble()
688 if (Double.isInfinite(result)) { in toDouble()
DDecimalQuantity.java119 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/icu/icu4c/source/i18n/
Dplurrule_impl.h251 virtual bool isInfinite() const = 0;
281 bool isInfinite() const U_OVERRIDE;
Dnumber_decimalquantity.cpp194 if (isInfinite() || isZero() || isNaN()) { in multiplyBy()
207 if (isInfinite() || isZero() || isNaN()) { in divideBy()
311 bool DecimalQuantity::isInfinite() const { in isInfinite() function in DecimalQuantity
572 } else if (isInfinite()) { in toDouble()
Dnumber_decimalquantity.h144 bool isInfinite() const U_OVERRIDE;
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/
DAbstractUnivariateStatistic.java211 if (Double.isInfinite(weights[i])) { in test()
/external/apache-xml/src/main/java/org/apache/xpath/objects/
DXNumber.java284 else if (Double.isInfinite(m_val)) in str()
/external/proguard/src/proguard/gui/
Ddefault.pro171 public static boolean isInfinite(float);
177 public boolean isInfinite();
185 public static boolean isInfinite(double);
191 public boolean isInfinite();
Dboilerplate.pro236 public static boolean isInfinite(float);
242 public boolean isInfinite();
251 public static boolean isInfinite(double);
257 public boolean isInfinite();
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralRules.java520 public boolean isInfinite(); in isInfinite() method
771 if (Double.isInfinite(n) || Double.isNaN(n)) { in decimals()
1027 public boolean isInfinite() { in isInfinite() method in PluralRules.FixedDecimal
1028 return Double.isInfinite(source); in isInfinite()
1882 if (n.isInfinite() || n.isNaN()) { in select()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralRules.java521 public boolean isInfinite(); in isInfinite() method
732 if (Double.isInfinite(n) || Double.isNaN(n)) { in decimals()
976 public boolean isInfinite() { in isInfinite() method in PluralRules.FixedDecimal
977 return Double.isInfinite(source); in isInfinite()
1815 if (n.isInfinite() || n.isNaN()) { in select()
/external/apache-commons-math/src/main/java/org/apache/commons/math/special/
DGamma.java189 } else if (Double.isInfinite(sum)) { in regularizedGammaP()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DRealVector.java1004 boolean isInfinite(); in isInfinite() method
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DExhaustiveNumberTest.java165 if (Double.isNaN(d) || Double.isInfinite(d)) in testConvertToAccurateDouble()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DExhaustiveNumberTest.java162 if (Double.isNaN(d) || Double.isInfinite(d)) in testConvertToAccurateDouble()

123