/cts/tools/vm-tests-tf/src/dot/junit/opcodes/cmpl_float/ |
Test_cmpl_float.java | 66 * @title Arguments = Float.NEGATIVE_INFINITY, Float.MIN_VALUE 70 assertEquals(-1, t.run(Float.NEGATIVE_INFINITY, Float.MIN_VALUE)); 83 * Float.NEGATIVE_INFINITY 87 assertEquals(1, t.run(Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY));
|
/libcore/luni/src/test/java/libcore/java/util/function/ |
DoubleUnaryOperatorTest.java | 30 assertEquals(Double.NEGATIVE_INFINITY, 31 DoubleUnaryOperator.identity().applyAsDouble(Double.NEGATIVE_INFINITY));
|
/cts/tests/tests/util/src/android/util/cts/ |
RationalTest.java | 128 Rational negInf = NEGATIVE_INFINITY; 163 assertEquals(NEGATIVE_INFINITY, negInf); 188 assertGreaterThan(NaN, NEGATIVE_INFINITY); 194 assertGreaterThan(POSITIVE_INFINITY, NEGATIVE_INFINITY); 198 assertCompareEquals(NEGATIVE_INFINITY, new Rational(-1, 0)); 199 assertLessThan(NEGATIVE_INFINITY, UNIT); 200 assertLessThan(NEGATIVE_INFINITY, POSITIVE_INFINITY); 201 assertLessThan(NEGATIVE_INFINITY, ZERO); 221 assertFinite(NEGATIVE_INFINITY, false); 228 assertInfinite(NEGATIVE_INFINITY, true) [all...] |
RangeTest.java | 38 Range<Float> floatRange = new Range<Float>(Float.NEGATIVE_INFINITY, 40 assertLower(floatRange, Float.NEGATIVE_INFINITY); 78 new Range<Float>(0.0f, Float.NEGATIVE_INFINITY); 81 // OK: 0.0f is > NEGATIVE_INFINITY, so it fails 116 Range<Float> infinities = Range.create(Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY); 118 assertInRange(infinities, Float.NEGATIVE_INFINITY);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
RationalTest.java | 147 Rational negInf = NEGATIVE_INFINITY; 182 assertEquals(NEGATIVE_INFINITY, negInf); 207 assertGreaterThan(NaN, NEGATIVE_INFINITY); 213 assertGreaterThan(POSITIVE_INFINITY, NEGATIVE_INFINITY); 217 assertCompareEquals(NEGATIVE_INFINITY, new Rational(-1, 0)); 218 assertLessThan(NEGATIVE_INFINITY, UNIT); 219 assertLessThan(NEGATIVE_INFINITY, POSITIVE_INFINITY); 220 assertLessThan(NEGATIVE_INFINITY, ZERO); 240 assertFinite(NEGATIVE_INFINITY, false); 247 assertInfinite(NEGATIVE_INFINITY, true) [all...] |
RangeTest.java | 45 Range<Float> floatRange = new Range<Float>(Float.NEGATIVE_INFINITY, 47 assertLower(floatRange, Float.NEGATIVE_INFINITY); 85 new Range<Float>(0.0f, Float.NEGATIVE_INFINITY); 88 // OK: 0.0f is > NEGATIVE_INFINITY, so it fails 123 Range<Float> infinities = Range.create(Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY); 125 assertInRange(infinities, Float.NEGATIVE_INFINITY);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
MathTest.java | 125 assertEquals(Double.NEGATIVE_INFINITY, Math.cbrt(Double.NEGATIVE_INFINITY), 0D); 160 Double.NEGATIVE_INFINITY }; 232 Float.NEGATIVE_INFINITY }; 313 Double.POSITIVE_INFINITY, Math.cosh(Double.NEGATIVE_INFINITY), 0D); 354 .expm1(Double.NEGATIVE_INFINITY), 0D); 400 Double.toString(Double.NEGATIVE_INFINITY), Double.toString(Math.floor(Double.NEGATIVE_INFINITY))); 407 Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, 453 Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY, Float.MAX_VALUE [all...] |
/art/test/041-narrowing/src/ |
Main.java | 11 System.out.println("Double.NEGATIVE_INFINITY = " 12 + Long.toHexString(Double.doubleToRawLongBits(Double.NEGATIVE_INFINITY))); 15 System.out.println("Float.NEGATIVE_INFINITY = " 16 + Long.toHexString(Double.doubleToRawLongBits(Float.NEGATIVE_INFINITY))); 61 double dbl4 = Double.NEGATIVE_INFINITY; 63 System.out.println("(byte) Double.NEGATIVE_INFINITY = " 66 System.out.println("(short) Double.NEGATIVE_INFINITY = " 69 System.out.println("(int) Double.NEGATIVE_INFINITY = " 71 System.out.println("(long) Double.NEGATIVE_INFINITY = " + Long.toHexString((long)dbl4) 85 float fl4 = Float.NEGATIVE_INFINITY; [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
SafeConstructorTest.java | 29 assertEquals(Double.NEGATIVE_INFINITY, yaml.load("-.inf"));
|
/frameworks/support/annotations/src/android/support/annotation/ |
FloatRange.java | 44 double from() default Double.NEGATIVE_INFINITY;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/neg_double/ |
Test_neg_double.java | 68 * @title Argument = Double.NEGATIVE_INFINITY 72 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.NEGATIVE_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 | 67 * @title Argument = Float.NEGATIVE_INFINITY 71 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.NEGATIVE_INFINITY)); 79 assertEquals(Float.NEGATIVE_INFINITY, t.run(Float.POSITIVE_INFINITY));
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldAndroidMathTest.java | 120 assertEquals("Should return Double.NEGATIVE_INFINITY", 121 Double.NEGATIVE_INFINITY, Math 122 .cbrt(Double.NEGATIVE_INFINITY), 0D); 165 Double.POSITIVE_INFINITY, Math.cosh(Double.NEGATIVE_INFINITY), 0D); 200 .expm1(Double.NEGATIVE_INFINITY), 0D); 235 Double.POSITIVE_INFINITY, Math.hypot(Double.NEGATIVE_INFINITY, 242 Double.NEGATIVE_INFINITY), 0D); 245 Double.NEGATIVE_INFINITY), 0D); 247 Double.POSITIVE_INFINITY, Math.hypot(Double.NEGATIVE_INFINITY, 290 assertEquals(Double.NEGATIVE_INFINITY, Math.log10(0.0)) [all...] |
OldAndroidStrictMathTest.java | 100 assertEquals("Should return Double.NEGATIVE_INFINITY", 101 Double.NEGATIVE_INFINITY, StrictMath 102 .cbrt(Double.NEGATIVE_INFINITY)); 157 .cosh(Double.NEGATIVE_INFINITY)); 194 .expm1(Double.NEGATIVE_INFINITY)); 231 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.NEGATIVE_INFINITY, 238 Double.NEGATIVE_INFINITY)); 241 Double.NEGATIVE_INFINITY)); 243 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.NEGATIVE_INFINITY, 293 assertEquals("Should return NEGATIVE_INFINITY", [all...] |
DoubleTest.java | 50 assertEquals(Double.NEGATIVE_INFINITY, Double.parseDouble("-Infinity")); 106 assertEquals(Double.NEGATIVE_INFINITY, Double.parseDouble("-1.0e+309")); 109 assertEquals(Double.NEGATIVE_INFINITY, Double.parseDouble("-1.0e+9999999999"));
|
FloatTest.java | 52 assertEquals(Float.NEGATIVE_INFINITY, Float.parseFloat("-Infinity")); 106 assertEquals(Float.NEGATIVE_INFINITY, Float.parseFloat("-1.0e+39")); 109 assertEquals(Float.NEGATIVE_INFINITY, Float.parseFloat("-1.0e+9999999999"));
|
/art/test/575-checker-isnan/src/ |
Main.java | 49 expectFalse(isNaN32(Float.NEGATIVE_INFINITY)); 81 expectFalse(isNaN64(Double.NEGATIVE_INFINITY));
|
/art/test/577-checker-fp2int/src/ |
Main.java | 49 expectEquals32(0xff800000, f2int(Float.NEGATIVE_INFINITY)); 77 expectEquals64(0xfff0000000000000L, d2long(Double.NEGATIVE_INFINITY));
|
/art/test/703-floating-point-div/src/ |
Main.java | 40 double d6 = Double.NEGATIVE_INFINITY; 68 float f6 = Float.NEGATIVE_INFINITY;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_double/ |
Test_rem_double.java | 60 * Double.NEGATIVE_INFINITY 65 Double.NEGATIVE_INFINITY)); 77 * @title Arguments = -2.7d, Double.NEGATIVE_INFINITY 81 assertEquals(-2.7d, t.run(-2.7d, Double.NEGATIVE_INFINITY));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_double_2addr/ |
Test_rem_double_2addr.java | 60 * Double.NEGATIVE_INFINITY 65 Double.NEGATIVE_INFINITY)); 77 * @title Arguments = -2.7d, Double.NEGATIVE_INFINITY 81 assertEquals(-2.7d, t.run(-2.7d, Double.NEGATIVE_INFINITY));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_float/ |
Test_rem_float.java | 60 * Float.NEGATIVE_INFINITY 65 Float.NEGATIVE_INFINITY)); 77 * @title Arguments = -2.7f, Float.NEGATIVE_INFINITY 81 assertEquals(-2.7f, t.run(-2.7f, Float.NEGATIVE_INFINITY));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_float_2addr/ |
Test_rem_float_2addr.java | 60 * Float.NEGATIVE_INFINITY 65 Float.NEGATIVE_INFINITY)); 77 * @title Arguments = -2.7f, Float.NEGATIVE_INFINITY 81 assertEquals(-2.7f, t.run(-2.7f, Float.NEGATIVE_INFINITY));
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/ |
CauchyDistributionImpl.java | 128 * Returns <code>Double.NEGATIVE_INFINITY</code> for p=0 and 143 ret = Double.NEGATIVE_INFINITY; 278 * @return lower bound of the support (always Double.NEGATIVE_INFINITY) 282 return Double.NEGATIVE_INFINITY;
|
NormalDistributionImpl.java | 209 * Returns <code>Double.NEGATIVE_INFINITY</code> for p=0 and 223 return Double.NEGATIVE_INFINITY; 316 * @return lower bound of the support (always Double.NEGATIVE_INFINITY) 320 return Double.NEGATIVE_INFINITY;
|