HomeSort by relevance Sort by last modified time
    Searched refs:POSITIVE_INFINITY (Results 51 - 75 of 253) sorted by null

1 23 4 5 6 7 8 91011

  /art/test/580-checker-round/src/
Main.java 48 expectEquals32(2147483647, round32(Float.POSITIVE_INFINITY));
56 for (float f = -1.5f; f <= -1.499f; f = Math.nextAfter(f, Float.POSITIVE_INFINITY)) {
110 expectEquals64(9223372036854775807L, round64(Double.POSITIVE_INFINITY));
118 for (double d = -1.5d; d <= -1.49999999999d; d = Math.nextAfter(d, Double.POSITIVE_INFINITY)) {
  /frameworks/support/annotations/src/android/support/annotation/
FloatRange.java 47 double to() default Double.POSITIVE_INFINITY;
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/double_to_float/
Test_double_to_float.java 54 assertEquals(Float.POSITIVE_INFINITY, t.run(Double.MAX_VALUE));
82 * @title Argument = POSITIVE_INFINITY
86 assertTrue(Float.isInfinite(t.run(Double.POSITIVE_INFINITY)));
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/neg_double/
Test_neg_double.java 72 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.NEGATIVE_INFINITY));
76 * @title Argument = Double.POSITIVE_INFINITY
80 assertEquals(Double.NEGATIVE_INFINITY, t.run(Double.POSITIVE_INFINITY));
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/neg_float/
Test_neg_float.java 71 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.NEGATIVE_INFINITY));
75 * @title Argument = Float.POSITIVE_INFINITY
79 assertEquals(Float.NEGATIVE_INFINITY, t.run(Float.POSITIVE_INFINITY));
  /external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
ChiSquaredDistributionImpl.java 150 * Returns 0 for p=0 and <code>Double.POSITIVE_INFINITY</code> for p=1.</p>
166 return Double.POSITIVE_INFINITY;
292 * @return upper bound of the support (always Double.POSITIVE_INFINITY)
296 return Double.POSITIVE_INFINITY;
ExponentialDistributionImpl.java 157 * Returns 0 for p=0 and <code>Double.POSITIVE_INFINITY</code> for p=1.</p>
173 ret = Double.POSITIVE_INFINITY;
285 * @return upper bound of the support (always Double.POSITIVE_INFINITY)
289 return Double.POSITIVE_INFINITY;
CauchyDistributionImpl.java 129 * <code>Double.POSITIVE_INFINITY</code> for p=1.</p>
145 ret = Double.POSITIVE_INFINITY;
290 * @return upper bound of the support (always Double.POSITIVE_INFINITY)
294 return Double.POSITIVE_INFINITY;
FDistributionImpl.java 134 * Returns 0 for p=0 and <code>Double.POSITIVE_INFINITY</code> for p=1.</p>
150 return Double.POSITIVE_INFINITY;
300 * @return upper bound of the support (always Double.POSITIVE_INFINITY)
304 return Double.POSITIVE_INFINITY;
GammaDistributionImpl.java 110 * Returns 0 for p=0 and <code>Double.POSITIVE_INFINITY</code> for p=1.</p>
126 return Double.POSITIVE_INFINITY;
320 * @return upper bound of the support (always Double.POSITIVE_INFINITY)
324 return Double.POSITIVE_INFINITY;
NormalDistributionImpl.java 210 * <code>Double.POSITIVE_INFINITY</code> for p=1.</p>
226 return Double.POSITIVE_INFINITY;
329 * @return upper bound of the support (always Double.POSITIVE_INFINITY)
333 return Double.POSITIVE_INFINITY;
  /external/guava/guava/src/com/google/common/math/
DoubleUtils.java 22 import static java.lang.Double.POSITIVE_INFINITY;
99 return x.signum() * POSITIVE_INFINITY;
129 * Double.POSITIVE_INFINITY.
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
Float16Utils.java 86 result = java.lang.Float.POSITIVE_INFINITY;
201 // value gets rounded up to Double.POSITIVE_INFINITY.
210 // Exponent is outside Float16's range. Use POSITIVE_INFINITY for both bounds.
211 result[0] = Double.POSITIVE_INFINITY;
212 result[1] = Double.POSITIVE_INFINITY;
237 return Double.POSITIVE_INFINITY; // ulp of +/- infinity is +infinity
296 } else if (value == Double.POSITIVE_INFINITY) {
  /art/test/575-checker-isnan/src/
Main.java 54 expectFalse(isNaN32(Float.POSITIVE_INFINITY));
86 expectFalse(isNaN64(Double.POSITIVE_INFINITY));
  /art/test/577-checker-fp2int/src/
Main.java 54 expectEquals32(0x7f800000, f2int(Float.POSITIVE_INFINITY));
82 expectEquals64(0x7ff0000000000000L, d2long(Double.POSITIVE_INFINITY));
  /art/test/703-floating-point-div/src/
Main.java 39 double d5 = Double.POSITIVE_INFINITY;
67 float f5 = Float.POSITIVE_INFINITY;
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_double/
Test_rem_double.java 59 * @title Arguments = Double.POSITIVE_INFINITY,
64 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY,
69 * @title Arguments = Double.POSITIVE_INFINITY, -2.7d
73 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, -2.7d));
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_double_2addr/
Test_rem_double_2addr.java 59 * @title Arguments = Double.POSITIVE_INFINITY,
64 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY,
69 * @title Arguments = Double.POSITIVE_INFINITY, -2.7d
73 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, -2.7d));
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_float/
Test_rem_float.java 59 * @title Arguments = Float.POSITIVE_INFINITY,
64 assertEquals(Float.NaN, t.run(Float.POSITIVE_INFINITY,
69 * @title Arguments = Float.POSITIVE_INFINITY, -2.7f
73 assertEquals(Float.NaN, t.run(Float.POSITIVE_INFINITY, -2.7f));
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_float_2addr/
Test_rem_float_2addr.java 59 * @title Arguments = Float.POSITIVE_INFINITY,
64 assertEquals(Float.NaN, t.run(Float.POSITIVE_INFINITY,
69 * @title Arguments = Float.POSITIVE_INFINITY, -2.7f
73 assertEquals(Float.NaN, t.run(Float.POSITIVE_INFINITY, -2.7f));
  /external/guava/guava/src/com/google/common/util/concurrent/
SmoothRateLimiter.java 243 if (oldMaxPermits == Double.POSITIVE_INFINITY) {
293 if (oldMaxPermits == Double.POSITIVE_INFINITY) {
  /frameworks/base/core/java/android/hardware/camera2/utils/
ParamsUtils.java 124 } else if (value == Float.POSITIVE_INFINITY) {
125 return Rational.POSITIVE_INFINITY;
  /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 39 Float.POSITIVE_INFINITY);
41 assertUpper(floatRange, Float.POSITIVE_INFINITY);
116 Range<Float> infinities = Range.create(Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY);
119 assertInRange(infinities, Float.POSITIVE_INFINITY);

Completed in 631 milliseconds

1 23 4 5 6 7 8 91011