/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/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue183/ |
NumberBeanTest.java | 57 number.number = Float.NEGATIVE_INFINITY; 62 assertEquals(Float.NEGATIVE_INFINITY, loaded.number.floatValue()); 67 number.number = Double.NEGATIVE_INFINITY; 72 assertEquals(Double.NEGATIVE_INFINITY, loaded.number.doubleValue());
|
/libcore/luni/src/test/java/libcore/java/lang/ |
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...] |
OldDoubleTest.java | 35 assertEquals(0xfff0000000000000L, Double.doubleToLongBits(Double.NEGATIVE_INFINITY)); 41 assertEquals(0xfff0000000000000L, Double.doubleToLongBits(Double.NEGATIVE_INFINITY)); 46 assertEquals(Double.NEGATIVE_INFINITY, new Double("-1.7976931348623159E308").doubleValue()); 53 assertEquals(Float.NEGATIVE_INFINITY, new Double("-3.4028236E38").floatValue());
|
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...] |
/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/ |
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/ |
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);
|
/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));
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ |
LineRegion.java | 66 //double l1min = getMinVal() == null ? Double.NEGATIVE_INFINITY : getMinVal().doubleValue();
69 //double l2min = line2Min == null ? Double.NEGATIVE_INFINITY : line2Min.doubleValue();
|
/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...] |
StrictMathTest.java | 135 assertEquals("Should return Double.NEGATIVE_INFINITY", 136 Double.NEGATIVE_INFINITY, StrictMath 137 .cbrt(Double.NEGATIVE_INFINITY)); 330 .cosh(Double.NEGATIVE_INFINITY)); 373 .expm1(Double.NEGATIVE_INFINITY)); 457 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.NEGATIVE_INFINITY, 464 Double.NEGATIVE_INFINITY)); 467 Double.NEGATIVE_INFINITY)); 469 Double.POSITIVE_INFINITY, StrictMath.hypot(Double.NEGATIVE_INFINITY, 528 assertEquals("Should return NEGATIVE_INFINITY", [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/rank/ |
Min.java | 29 * <li>If any of the values equals <code>Double.NEGATIVE_INFINITY</code>, 30 * the result is <code>Double.NEGATIVE_INFINITY.</code></li> 115 * <li>If any of the values equals <code>Double.NEGATIVE_INFINITY</code>, 116 * the result is <code>Double.NEGATIVE_INFINITY.</code></li>
|
/external/v8/test/mjsunit/ |
number-is.js | 40 assertFalse(Number.isFinite(Number.NEGATIVE_INFINITY)); 57 assertFalse(Number.isNaN(Number.NEGATIVE_INFINITY)); 83 assertFalse(Number.isInteger(Number.NEGATIVE_INFINITY)); 105 assertFalse(Number.isSafeInteger(Number.NEGATIVE_INFINITY));
|
/art/test/575-checker-isnan/src/ |
Main.java | 49 expectFalse(isNaN32(Float.NEGATIVE_INFINITY)); 81 expectFalse(isNaN64(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/tests/vm/src/android/vm/cts/opcodes/add_double/ |
AddDoubleTest.java | 56 * Double.NEGATIVE_INFINITY 60 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY));
|
/cts/tests/vm/src/android/vm/cts/opcodes/add_double_2addr/ |
AddDouble2AddrTest.java | 56 * Double.NEGATIVE_INFINITY 61 Double.NEGATIVE_INFINITY));
|
/cts/tests/vm/src/android/vm/cts/opcodes/add_float/ |
AddFloatTest.java | 56 * Float.NEGATIVE_INFINITY 61 Float.NEGATIVE_INFINITY)));
|
/cts/tests/vm/src/android/vm/cts/opcodes/add_float_2addr/ |
AddFloat2AddrTest.java | 55 * Float.NEGATIVE_INFINITY 60 Float.NEGATIVE_INFINITY)));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/double_to_float/ |
Test_double_to_float.java | 90 * @title Argument = NEGATIVE_INFINITY 94 assertTrue(Float.isInfinite(t.run(Double.NEGATIVE_INFINITY)));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/double_to_int/ |
Test_double_to_int.java | 91 * @title Argument = NEGATIVE_INFINITY 95 assertEquals(Integer.MIN_VALUE, t.run(Double.NEGATIVE_INFINITY));
|