/art/test/415-optimizing-arith-neg/src/ |
Main.java | 141 assertEquals(Float.NEGATIVE_INFINITY, $opt$noinline$NegFloat(Float.POSITIVE_INFINITY)); 142 assertEquals(Float.POSITIVE_INFINITY, $opt$noinline$NegFloat(Float.NEGATIVE_INFINITY)); 166 assertEquals(Double.NEGATIVE_INFINITY, $opt$noinline$NegDouble(Double.POSITIVE_INFINITY)); 167 assertEquals(Double.POSITIVE_INFINITY, $opt$noinline$NegDouble(Double.NEGATIVE_INFINITY));
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
ImageCompare.java | 57 return Double.POSITIVE_INFINITY;
|
/cts/tests/tests/util/src/android/util/cts/ |
RangeTest.java | 47 Float.POSITIVE_INFINITY); 49 verifyUpper(floatRange, Float.POSITIVE_INFINITY); 108 Range<Float> infinities = Range.create(Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY); 111 verifyInRange(infinities, Float.POSITIVE_INFINITY);
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/double_to_int/ |
Test_double_to_int.java | 83 * @title Argument = POSITIVE_INFINITY 87 assertEquals(Integer.MAX_VALUE, t.run(Double.POSITIVE_INFINITY));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/double_to_long/ |
Test_double_to_long.java | 82 * @title Argument = POSITIVE_INFINITY 86 assertEquals(Long.MAX_VALUE, t.run(Double.POSITIVE_INFINITY));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/float_to_int/ |
Test_float_to_int.java | 83 * @title Argument = POSITIVE_INFINITY 87 assertEquals(Integer.MAX_VALUE, t.run(Float.POSITIVE_INFINITY));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
NumberFormatRegressionTest.java | 265 Double.POSITIVE_INFINITY, 267 Double.POSITIVE_INFINITY, 268 Double.POSITIVE_INFINITY, 271 Double.POSITIVE_INFINITY,
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
NumberFormatRegressionTest.java | 264 Double.POSITIVE_INFINITY, 266 Double.POSITIVE_INFINITY, 267 Double.POSITIVE_INFINITY, 270 Double.POSITIVE_INFINITY,
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
RangeTest.java | 46 Float.POSITIVE_INFINITY); 48 assertUpper(floatRange, Float.POSITIVE_INFINITY); 123 Range<Float> infinities = Range.create(Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY); 126 assertInRange(infinities, Float.POSITIVE_INFINITY);
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
ImageCompare.java | 57 return Double.POSITIVE_INFINITY;
|
/libcore/ojluni/src/main/java/java/util/ |
DoubleSummaryStatistics.java | 67 private double min = Double.POSITIVE_INFINITY; 72 * {@code Double.POSITIVE_INFINITY} min, {@code Double.NEGATIVE_INFINITY} 165 * value was NaN or {@code Double.POSITIVE_INFINITY} if no values were 170 * value was NaN or {@code Double.POSITIVE_INFINITY} if no values were
|
/cts/tests/tests/proto/src/android/util/proto/cts/ |
ProtoOutputStreamFloatTest.java | 74 po.writeFloat(ProtoOutputStream.makeFieldId(9, fieldFlags), Float.POSITIVE_INFINITY); 100 // 9 -> Float.POSITIVE_INFINITY 119 testWriteCompat(Float.POSITIVE_INFINITY); 173 po.writeRepeatedFloat(ProtoOutputStream.makeFieldId(9, fieldFlags), Float.POSITIVE_INFINITY); 183 po.writeRepeatedFloat(ProtoOutputStream.makeFieldId(9, fieldFlags), Float.POSITIVE_INFINITY); 211 // 9 -> Float.POSITIVE_INFINITY 239 // 9 -> Float.POSITIVE_INFINITY 252 Float.POSITIVE_INFINITY, 323 writePackedFloat(po, 9, Float.POSITIVE_INFINITY); 367 // 9 -> Float.POSITIVE_INFINITY [all...] |
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
XYRegionExampleActivity.java | 351 2, Double.POSITIVE_INFINITY, new AxisValueLabelFormatter(Color.WHITE));
356 HOME_RUN_DIST, Double.POSITIVE_INFINITY, new AxisValueLabelFormatter(Color.GREEN));
405 shortRegion = new RectRegion(2, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, HOME_RUN_DIST, "Short");
416 warmupRegion = new RectRegion(0, 2, Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY, "Warmup");
425 homeRunRegion = new RectRegion(2, Double.POSITIVE_INFINITY, HOME_RUN_DIST, Double.POSITIVE_INFINITY, "H. Run");
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
RateLimiterTest.java | 294 RateLimiter limiter = RateLimiter.create(stopwatch, Double.POSITIVE_INFINITY); 313 limiter.setRate(Double.POSITIVE_INFINITY); 322 RateLimiter limiter = RateLimiter.create(stopwatch, Double.POSITIVE_INFINITY); 338 stopwatch, Double.POSITIVE_INFINITY, 10, SECONDS); 350 limiter.setRate(Double.POSITIVE_INFINITY); 358 RateLimiter limiter = RateLimiter.create(stopwatch, Double.POSITIVE_INFINITY, 10, SECONDS);
|
/external/guava/guava-tests/test/com/google/common/math/ |
DoubleMathTest.java | 158 DoubleMath.roundToInt(Double.POSITIVE_INFINITY, mode); 245 DoubleMath.roundToLong(Double.POSITIVE_INFINITY, mode); 307 DoubleMath.roundToBigInteger(Double.POSITIVE_INFINITY, mode); 404 asList(0.0, -0.0, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NaN)) { 468 assertEquals(Double.POSITIVE_INFINITY, DoubleMath.log2(Double.POSITIVE_INFINITY)); 508 Arrays.asList(Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NaN)) { 523 assertEquals(Double.POSITIVE_INFINITY, DoubleMath.factorial(DoubleMath.MAX_FACTORIAL + 1)); 524 assertEquals(Double.POSITIVE_INFINITY, DoubleMath.factorial(DoubleMath.MAX_FACTORIAL + 20)); 540 Iterables.concat(FINITE_TOLERANCE_CANDIDATES, ImmutableList.of(Double.POSITIVE_INFINITY)); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
FloatTest.java | 134 Float.POSITIVE_INFINITY, Float.NaN }; 245 (new Float(Float.POSITIVE_INFINITY).isInfinite() && new Float( 255 assertTrue(Float.isInfinite(Float.POSITIVE_INFINITY)); 268 assertFalse(Float.isFinite(Float.POSITIVE_INFINITY)); 448 assertEquals("Returned incorrect value", Float.POSITIVE_INFINITY, actual, 0.0F); 451 assertEquals("Returned incorrect value", Float.POSITIVE_INFINITY, actual, 0.0F); 454 assertEquals("Returned incorrect value", Float.POSITIVE_INFINITY, actual, 0.0F); 457 assertEquals("Returned incorrect value", Float.POSITIVE_INFINITY, actual, 0.0F); [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
RectRegion.java | 103 yLineRegion.getMaxVal().doubleValue() != Double.POSITIVE_INFINITY ? yLineRegion.getMaxVal() : visMaxY,
110 xLineRegion.getMaxVal().doubleValue() != Double.POSITIVE_INFINITY ? xLineRegion.getMaxVal() : visMaxX,
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
WeibullDistributionImpl.java | 155 * <code>Double.POSITIVE_INFINITY</code> for p=1.</p> 171 ret = Double.POSITIVE_INFINITY; 296 * @return upper bound of the support (always Double.POSITIVE_INFINITY) 300 return Double.POSITIVE_INFINITY; 357 * @return the variance (possibly Double.POSITIVE_INFINITY as
|
/frameworks/base/core/java/android/util/ |
Rational.java | 48 public static final Rational POSITIVE_INFINITY = new Rational(1, 0); 583 return POSITIVE_INFINITY;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
Arrays2Test.java | 41 Double.POSITIVE_INFINITY, Double.NaN }; 60 Float.MIN_VALUE, 2f, Float.MAX_VALUE, Float.POSITIVE_INFINITY, 133 double[] specials1 = new double[] { Double.NaN, Double.MAX_VALUE, Double.MIN_VALUE, 0d, -0d, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY }; 134 double[] specials2 = new double[] { 0d, Double.POSITIVE_INFINITY, -0d, Double.NEGATIVE_INFINITY, Double.MIN_VALUE, Double.NaN, Double.MAX_VALUE }; 135 double[] answer = new double[] { Double.NEGATIVE_INFINITY, -0d, 0d, Double.MIN_VALUE, Double.MAX_VALUE, Double.POSITIVE_INFINITY, Double.NaN }; 169 float[] specials1 = new float[] { Float.NaN, Float.MAX_VALUE, Float.MIN_VALUE, 0f, -0f, Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY }; 170 float[] specials2 = new float[] { 0f, Float.POSITIVE_INFINITY, -0f, Float.NEGATIVE_INFINITY, Float.MIN_VALUE, Float.NaN, Float.MAX_VALUE }; 171 float[] answer = new float[] { Float.NEGATIVE_INFINITY, -0f, 0f, Float.MIN_VALUE, Float.MAX_VALUE, Float.POSITIVE_INFINITY, Float.NaN };
|
/libcore/ojluni/src/main/java/java/lang/ |
Double.java | 56 public static final double POSITIVE_INFINITY = 1.0 / 0.0; 563 return (v == POSITIVE_INFINITY) || (v == NEGATIVE_INFINITY); [all...] |
Float.java | 56 public static final float POSITIVE_INFINITY = 1.0f / 0.0f; 476 return (v == POSITIVE_INFINITY) || (v == NEGATIVE_INFINITY); [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/float_to_double/ |
Test_float_to_double.java | 84 * @title Argument = POSITIVE_INFINITY 88 assertTrue(Double.isInfinite(t.run(Float.POSITIVE_INFINITY)));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/float_to_long/ |
Test_float_to_long.java | 82 * @title Argument = POSITIVE_INFINITY 86 assertEquals(Long.MAX_VALUE, t.run(Float.POSITIVE_INFINITY));
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/ |
LaguerreSolver.java | 382 Complex oldz = new Complex(Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY); 424 oldz = new Complex(Double.POSITIVE_INFINITY, 425 Double.POSITIVE_INFINITY);
|