/libcore/ojluni/src/main/java/sun/misc/ |
D | FpUtils.java | 239 public static boolean isInfinite(double d) { in isInfinite() method in FpUtils 240 return Double.isInfinite(d); in isInfinite() 255 public static boolean isInfinite(float f) { in isInfinite() method in FpUtils 256 return Float.isInfinite(f); in isInfinite()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Float.java | 510 public static boolean isInfinite(float v) { in isInfinite() method in Float 611 public boolean isInfinite() { in isInfinite() method in Float 612 return isInfinite(value); in isInfinite()
|
D | Double.java | 685 public static boolean isInfinite(double v) { in isInfinite() method in Double 768 public boolean isInfinite() { in isInfinite() method in Double 769 return isInfinite(value); in isInfinite()
|
D | Math.java | 2537 boolean infiniteA = Double.isInfinite(a); in fma() 2538 boolean infiniteB = Double.isInfinite(b); in fma() 2539 boolean infiniteC = Double.isInfinite(c); in fma() 2551 if (Double.isInfinite(product) && !infiniteA && !infiniteB) { in fma() 2554 assert Double.isInfinite(c); in fma()
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | FpUtils.java | 66 public static boolean isInfinite(double d) { in isInfinite() method in FpUtils 70 public static boolean isInfinite(float f) { in isInfinite() method in FpUtils
|
/libcore/ojluni/annotations/flagged_api/java/lang/ |
D | Double.annotated.java | 50 public static boolean isInfinite(double v) { throw new RuntimeException("Stub!"); } in isInfinite() method in Double 56 public boolean isInfinite() { throw new RuntimeException("Stub!"); } in isInfinite() method in Double
|
D | Float.annotated.java | 53 public static boolean isInfinite(float v) { throw new RuntimeException("Stub!"); } in isInfinite() method in Float 59 public boolean isInfinite() { throw new RuntimeException("Stub!"); } in isInfinite() method in Float
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Double.annotated.java | 49 public static boolean isInfinite(double v) { throw new RuntimeException("Stub!"); } in isInfinite() method in Double 55 public boolean isInfinite() { throw new RuntimeException("Stub!"); } in isInfinite() method in Double
|
D | Float.annotated.java | 51 public static boolean isInfinite(float v) { throw new RuntimeException("Stub!"); } in isInfinite() method in Float 57 public boolean isInfinite() { throw new RuntimeException("Stub!"); } in isInfinite() method in Float
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Float.java | 71 public static boolean isInfinite(float v) { in isInfinite() method in Float 83 public boolean isInfinite() { in isInfinite() method in Float
|
D | Double.java | 68 public static boolean isInfinite(double v) { in isInfinite() method in Double 80 public boolean isInfinite() { in isInfinite() method in Double
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
D | FP16Test.java | 108 assertTrue(FP16.isInfinite(POSITIVE_INFINITY)); in testIsInfinite() 109 assertTrue(FP16.isInfinite(NEGATIVE_INFINITY)); in testIsInfinite() 110 assertFalse(FP16.isInfinite(POSITIVE_ZERO)); in testIsInfinite() 111 assertFalse(FP16.isInfinite(NEGATIVE_ZERO)); in testIsInfinite() 112 assertFalse(FP16.isInfinite(NaN)); in testIsInfinite() 113 assertFalse(FP16.isInfinite(MAX_VALUE)); in testIsInfinite() 114 assertFalse(FP16.isInfinite(LOWEST_VALUE)); in testIsInfinite() 115 assertFalse(FP16.isInfinite(toHalf(-128.3f))); in testIsInfinite() 116 assertFalse(FP16.isInfinite(toHalf(128.3f))); in testIsInfinite()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | FloatTest.java | 245 (new Float(Float.POSITIVE_INFINITY).isInfinite() && new Float( in test_isInfinite() 246 Float.NEGATIVE_INFINITY).isInfinite()) in test_isInfinite() 247 && !(new Float(0.13131414f).isInfinite())); in test_isInfinite() 255 assertTrue(Float.isInfinite(Float.POSITIVE_INFINITY)); in test_isInfiniteF() 256 assertTrue(Float.isInfinite(Float.NEGATIVE_INFINITY)); in test_isInfiniteF() 257 assertFalse(Float.isInfinite(Float.MAX_VALUE)); in test_isInfiniteF() 258 assertFalse(Float.isInfinite(Float.MIN_VALUE)); in test_isInfiniteF() 259 assertFalse(Float.isInfinite(Float.NaN)); in test_isInfiniteF() 260 assertFalse(Float.isInfinite(1.0f)); in test_isInfiniteF()
|
D | DoubleTest.java | 350 .isInfinite()); in test_isInfinite() 352 .isInfinite()); in test_isInfinite() 353 assertTrue("Non infinite number returned true", !(new Double(1000).isInfinite())); in test_isInfinite() 361 assertTrue(Double.isInfinite(Double.NEGATIVE_INFINITY)); in test_isInfiniteD() 362 assertTrue(Double.isInfinite(Double.POSITIVE_INFINITY)); in test_isInfiniteD() 363 assertFalse(Double.isInfinite(Double.MAX_VALUE)); in test_isInfiniteD() 364 assertFalse(Double.isInfinite(Double.MIN_VALUE)); in test_isInfiniteD() 365 assertFalse(Double.isInfinite(Double.NaN)); in test_isInfiniteD() 366 assertFalse(Double.isInfinite(0.0)); in test_isInfiniteD()
|
/libcore/ojluni/src/test/java/lang/Double/ |
D | NaNInfinityParsingTest.java | 140 Assert.assertTrue(Double.isInfinite(d), "Infinity string ``" + in testValidInfinityStrings()
|
D | ParseDoubleTest.java | 105 if (Double.isInfinite(na)) { in check()
|
/libcore/ojluni/src/test/java/lang/Float/ |
D | NaNInfinityParsingTest.java | 145 Assert.assertTrue(Float.isInfinite(d), "Infinity string ``" + in testValidInfinityStrings()
|
D | ParseFloatTest.java | 103 if (Float.isInfinite(na)) { in check()
|
/libcore/ojluni/src/test/java/lang/Math/ |
D | PowTests.java | 56 } else if (input1 == -1.0 && Double.isInfinite(input2)) { in testPowCase() 176 } else if (Double.isInfinite(y)) { in testCrossProduct()
|
D | IeeeRecommendedTests.java | 682 Float.isInfinite(testCases[i]), (i == 1 || i == 2)); in testFloatBooleanMethods() 728 Double.isInfinite(testCases[i]), (i == 1 || i == 2)); in testDoubleBooleanMethods()
|
/libcore/json/src/main/java/org/json/ |
D | JSON.java | 24 if (Double.isInfinite(d) || Double.isNaN(d)) { in checkDouble()
|
/libcore/ojluni/src/main/java/java/util/ |
D | DoubleSummaryStatistics.java | 247 if (Double.isNaN(tmp) && Double.isInfinite(simpleSum)) in getSum()
|
/libcore/ojluni/src/test/java/util/DoubleStreamSums/ |
D | CompensatedSums.java | 130 if (Double.isNaN(tmp) && Double.isInfinite(simpleSum)) in computeFinalSum()
|
/libcore/luni/src/main/java/libcore/util/ |
D | FP16.java | 628 public static boolean isInfinite(short h) { in isInfinite() method in FP16
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormat.java | 2501 if ((number instanceof Double) && !((Double) number).isInfinite() in parse() 2506 (((Double) number).isNaN() || ((Double) number).isInfinite())) { in parse()
|