Home
last modified time | relevance | path

Searched refs:isInfinite (Results 1 – 21 of 21) 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/
DFloat.java71 public static boolean isInfinite(float v) { in isInfinite() method in Float
83 public boolean isInfinite() { in isInfinite() method in Float
DDouble.java68 public static boolean isInfinite(double v) { in isInfinite() method in Double
80 public boolean isInfinite() { in isInfinite() method in Double
/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/luni/src/test/java/libcore/libcore/util/
DFP16Test.java108 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/
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/libcore/util/
DFP16.java531 public static boolean isInfinite(short h) { in isInfinite() method in FP16
/libcore/ojluni/src/main/java/java/text/
DDecimalFormat.java2350 if ((number instanceof Double) && !((Double) number).isInfinite() in parse()
2355 (((Double) number).isNaN() || ((Double) number).isInfinite())) { in parse()
/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.java2001 assertTrue(Double.isInfinite(number.doubleValue())); in test_parse_infinityBigDecimalFalse()
2011 assertTrue(Double.isInfinite(number.doubleValue())); in test_parse_minusInfinityBigDecimalFalse()
/libcore/mmodules/core_platform_api/api/legacy_platform/
Dcurrent-api.txt1045 method public static boolean isInfinite(short);