Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/misc/
DFpUtils.java239 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()
DFloatingDecimal.java1165 if (Double.isInfinite(t)) {
1180 if (Double.isInfinite(t)) {
/libcore/ojluni/src/main/java/java/lang/
DFloat.java474 public static boolean isInfinite(float v) { in isInfinite() method in Float
554 public boolean isInfinite() { in isInfinite() method in Float
555 return isInfinite(value); in isInfinite()
DDouble.java561 public static boolean isInfinite(double v) { in isInfinite() method in Double
630 public boolean isInfinite() { in isInfinite() method in Double
631 return isInfinite(value); in isInfinite()
/libcore/ojluni/annotations/hiddenapi/sun/misc/
DFpUtils.java66 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/hiddenapi/java/lang/
DDouble.java68 public static boolean isInfinite(double v) { in isInfinite() method in Double
80 public boolean isInfinite() { in isInfinite() method in Double
DFloat.java71 public static boolean isInfinite(float v) { in isInfinite() method in Float
83 public boolean isInfinite() { in isInfinite() method in Float
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DDouble.annotated.java49 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
DFloat.annotated.java51 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/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DFloatTest.java245 (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()
DDoubleTest.java350 .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/main/java/java/util/
DDoubleSummaryStatistics.java154 if (Double.isNaN(tmp) && Double.isInfinite(simpleSum)) in getSum()
DFormatter.java3332 if (!Double.isInfinite(v))
3597 if (Double.isInfinite(result) ) {
/libcore/json/src/main/java/org/json/
DJSON.java24 if (Double.isInfinite(d) || Double.isNaN(d)) { in checkDouble()
/libcore/luni/src/main/java/java/math/
DBigDecimal.java464 if (Double.isInfinite(val) || Double.isNaN(val)) { in BigDecimal()
715 if (Double.isInfinite(val) || Double.isNaN(val)) { in valueOf()
/libcore/ojluni/src/main/java/java/util/stream/
DCollectors.java556 if (Double.isNaN(tmp) && Double.isInfinite(simpleSum))
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatTest.java1977 assertTrue(Double.isInfinite(number.doubleValue())); in test_parse_infinityBigDecimalFalse()
1987 assertTrue(Double.isInfinite(number.doubleValue())); in test_parse_minusInfinityBigDecimalFalse()