/art/test/041-narrowing/ |
expected.txt | 3 Double.NEGATIVE_INFINITY = fff0000000000000 5 Float.NEGATIVE_INFINITY = fff0000000000000 24 (byte) Double.NEGATIVE_INFINITY = 00 expected: 00 25 (short) Double.NEGATIVE_INFINITY = 0000 expected: 0000 26 (int) Double.NEGATIVE_INFINITY = 80000000 expected: 80000000 27 (long) Double.NEGATIVE_INFINITY = 8000000000000000 expected: 8000000000000000 34 (byte) Float.NEGATIVE_INFINITY = 00 expected: 00 35 (short) Float.NEGATIVE_INFINITY = 0000 expected: 0000 36 (int) Float.NEGATIVE_INFINITY = 80000000 expected: 80000000 37 (long) Float.NEGATIVE_INFINITY = 8000000000000000 expected: 800000000000000 [all...] |
/art/test/411-optimizing-arith-mul/src/ |
Main.java | 120 expectNaN($opt$Mul(0F, Float.NEGATIVE_INFINITY)); 123 expectNaN($opt$Mul(Float.NaN, Float.NEGATIVE_INFINITY)); 128 expectEquals(Float.NEGATIVE_INFINITY, $opt$Mul(-2F, Float.POSITIVE_INFINITY)); 129 expectEquals(Float.NEGATIVE_INFINITY, $opt$Mul(-2F, 3.40282346638528860e+38F)); 130 expectEquals(Float.NEGATIVE_INFINITY, $opt$Mul(2F, Float.NEGATIVE_INFINITY)); 131 expectEquals(Float.POSITIVE_INFINITY, $opt$Mul(-2F, Float.NEGATIVE_INFINITY)); 132 expectEquals(Float.NEGATIVE_INFINITY, $opt$Mul(Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY)); 134 expectEquals(Float.POSITIVE_INFINITY, $opt$Mul(Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY)) [all...] |
/libcore/ojluni/src/test/java/util/stream/ |
TestDoubleSumAverage.java | 103 testCases.put(() -> DoubleStream.of(-MAX_VALUE, -MAX_VALUE), NEGATIVE_INFINITY); 110 testCases.put(() -> DoubleStream.of(1.0d, NEGATIVE_INFINITY, 1.0d), NEGATIVE_INFINITY); 111 testCases.put(() -> DoubleStream.of(NEGATIVE_INFINITY), NEGATIVE_INFINITY); 112 testCases.put(() -> DoubleStream.of(NEGATIVE_INFINITY, NEGATIVE_INFINITY), NEGATIVE_INFINITY); 113 testCases.put(() -> DoubleStream.of(NEGATIVE_INFINITY, NEGATIVE_INFINITY, 0.0), NEGATIVE_INFINITY) [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...] |
/art/test/414-optimizing-arith-sub/src/ |
Main.java | 112 expectNaN($opt$Sub(Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY)); 116 expectNaN($opt$Sub(Float.NaN, Float.NEGATIVE_INFINITY)); 119 expectEquals(Float.NEGATIVE_INFINITY, $opt$Sub(-Float.MAX_VALUE, Float.MAX_VALUE)); 120 expectEquals(Float.NEGATIVE_INFINITY, $opt$Sub(2F, Float.POSITIVE_INFINITY)); 122 expectEquals(Float.POSITIVE_INFINITY, $opt$Sub(2F, Float.NEGATIVE_INFINITY)); 123 expectEquals(Float.POSITIVE_INFINITY, $opt$Sub(Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY)); 124 expectEquals(Float.NEGATIVE_INFINITY, $opt$Sub(Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY)); 139 expectNaN($opt$Sub(Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY)) [all...] |
/external/skia/src/animator/ |
SkDisplayNumber.cpp | 15 SK_PROPERTY(NEGATIVE_INFINITY), 25 SK_MEMBER_PROPERTY(NEGATIVE_INFINITY, Float), 50 case SK_PROPERTY(NEGATIVE_INFINITY):
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_double/ |
Test_div_double.java | 62 * Double.NEGATIVE_INFINITY 67 Double.NEGATIVE_INFINITY)); 75 assertEquals(Double.NEGATIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, 80 * @title Arguments = -2.7d, Double.NEGATIVE_INFINITY 84 assertEquals(0d, t.run(-2.7d, Double.NEGATIVE_INFINITY)); 108 assertEquals(Double.NEGATIVE_INFINITY, t.run(-2.7d, 0)); 124 assertEquals(Double.NEGATIVE_INFINITY, t.run(Double.MAX_VALUE, -1E-9f));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_double_2addr/ |
Test_div_double_2addr.java | 62 * Double.NEGATIVE_INFINITY 67 Double.NEGATIVE_INFINITY)); 75 assertEquals(Double.NEGATIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, 80 * @title Arguments = -2.7d, Double.NEGATIVE_INFINITY 84 assertEquals(0d, t.run(-2.7d, Double.NEGATIVE_INFINITY)); 108 assertEquals(Double.NEGATIVE_INFINITY, t.run(-2.7d, 0)); 124 assertEquals(Double.NEGATIVE_INFINITY, t.run(Double.MAX_VALUE, -1E-9f));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_float/ |
Test_div_float.java | 59 * Float.NEGATIVE_INFINITY 64 Float.NEGATIVE_INFINITY)); 72 assertEquals(Float.NEGATIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, 77 * @title Arguments = -2.7f, Float.NEGATIVE_INFINITY 81 assertEquals(0f, t.run(-2.7f, Float.NEGATIVE_INFINITY)); 105 assertEquals(Float.NEGATIVE_INFINITY, t.run(-2.7f, 0)); 121 assertEquals(Float.NEGATIVE_INFINITY, t.run(Float.MAX_VALUE, -1E-9f));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_float_2addr/ |
Test_div_float_2addr.java | 59 * Float.NEGATIVE_INFINITY 64 Float.NEGATIVE_INFINITY)); 72 assertEquals(Float.NEGATIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, 77 * @title Arguments = -2.7f, Float.NEGATIVE_INFINITY 81 assertEquals(0f, t.run(-2.7f, Float.NEGATIVE_INFINITY)); 105 assertEquals(Float.NEGATIVE_INFINITY, t.run(-2.7f, 0)); 121 assertEquals(Float.NEGATIVE_INFINITY, t.run(Float.MAX_VALUE, -1E-9f));
|
/art/test/436-rem-float/src/ |
Main.java | 85 expectApproxEquals(0F, $opt$Rem(0F, Float.NEGATIVE_INFINITY)); 87 expectApproxEquals(4F, $opt$Rem(4F, Float.NEGATIVE_INFINITY)); 89 expectApproxEquals(-4F, $opt$Rem(-4F, Float.NEGATIVE_INFINITY)); 97 expectApproxEquals(Float.MIN_NORMAL, $opt$Rem(Float.MIN_NORMAL, Float.NEGATIVE_INFINITY)); 101 expectApproxEquals(Float.MIN_VALUE, $opt$Rem(Float.MIN_VALUE, Float.NEGATIVE_INFINITY)); 103 expectApproxEquals(Float.MAX_VALUE, $opt$Rem(Float.MAX_VALUE, Float.NEGATIVE_INFINITY)); 111 expectNaN($opt$Rem(Float.NEGATIVE_INFINITY, Float.MIN_VALUE)); 112 expectNaN($opt$Rem(Float.NEGATIVE_INFINITY, Float.MAX_VALUE)); 113 expectNaN($opt$Rem(Float.NEGATIVE_INFINITY, Float.MIN_NORMAL)); 114 expectNaN($opt$Rem(Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY)) [all...] |
/art/test/417-optimizing-arith-div/src/ |
Main.java | 174 expectEquals(0F, $opt$Div(0F, Float.NEGATIVE_INFINITY)); 175 expectEquals(0F, $opt$Div(11F, Float.NEGATIVE_INFINITY)); 180 expectNaN($opt$Div(Float.NEGATIVE_INFINITY, Float.NEGATIVE_INFINITY)); 181 expectNaN($opt$Div(Float.NEGATIVE_INFINITY, Float.POSITIVE_INFINITY)); 182 expectNaN($opt$Div(Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY)); 184 expectNaN($opt$Div(Float.NaN, Float.NEGATIVE_INFINITY)); 188 expectEquals(Float.NEGATIVE_INFINITY, $opt$Div(-3F, 0F)); 190 expectEquals(Float.NEGATIVE_INFINITY, $opt$Div(-Float.MAX_VALUE, Float.MIN_VALUE)); 203 expectEquals(0D, $opt$Div(0D, Float.NEGATIVE_INFINITY)); [all...] |
/dalvik/dx/tests/054-dex-high16/ |
Blort.java | 60 sink(Float.NEGATIVE_INFINITY); 68 sink(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...] |
/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...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldFloatTest.java | 53 assertEquals(0xff800000, Float.floatToIntBits(Float.NEGATIVE_INFINITY)); 59 assertEquals(0xff800000, Float.floatToRawIntBits(Float.NEGATIVE_INFINITY)); 69 assertEquals(Float.NEGATIVE_INFINITY, Float.intBitsToFloat(0xff800000));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/cmpg_double/ |
Test_cmpg_double.java | 66 * @title Arguments = Double.NEGATIVE_INFINITY, Double.MIN_VALUE 70 assertEquals(-1, t.run(Double.NEGATIVE_INFINITY, Double.MIN_VALUE)); 82 * @title Arguments = Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY 87 Double.NEGATIVE_INFINITY));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/cmpg_float/ |
Test_cmpg_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));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/cmpl_double/ |
Test_cmpl_double.java | 66 * @title Arguments = Double.NEGATIVE_INFINITY, Double.MIN_VALUE 70 assertEquals(-1, t.run(Double.NEGATIVE_INFINITY, Double.MIN_VALUE)); 83 * Double.NEGATIVE_INFINITY 88 Double.NEGATIVE_INFINITY));
|
/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));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_double/ |
Test_mul_double.java | 71 assertEquals(Double.NEGATIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, 77 * Double.NEGATIVE_INFINITY 81 assertEquals(Double.NEGATIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, 82 Double.NEGATIVE_INFINITY));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_double_2addr/ |
Test_mul_double_2addr.java | 72 assertEquals(Double.NEGATIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, 78 * Double.NEGATIVE_INFINITY 82 assertEquals(Double.NEGATIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, 83 Double.NEGATIVE_INFINITY));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_float/ |
Test_mul_float.java | 71 assertEquals(Float.NEGATIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, 77 * Float.NEGATIVE_INFINITY 81 assertEquals(Float.NEGATIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, 82 Float.NEGATIVE_INFINITY));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_float_2addr/ |
Test_mul_float_2addr.java | 71 assertEquals(Float.NEGATIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, 77 * Float.NEGATIVE_INFINITY 81 assertEquals(Float.NEGATIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, 82 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));
|