/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue182/ |
InfinityFloatBeanTest.java | 27 bean.infinityFloat = Float.POSITIVE_INFINITY; 28 bean.infinityFloatObject = Float.POSITIVE_INFINITY; 33 assertEquals(Float.POSITIVE_INFINITY, loadedBean.infinityFloat); 34 assertEquals(Float.POSITIVE_INFINITY, loadedBean.infinityFloatObject);
|
/cts/tests/vm/src/android/vm/cts/opcodes/add_float/ |
AddFloatTest.java | 51 assertEquals(Float.POSITIVE_INFINITY, t.run(3.3028235E38f, 0.11E38f)); 55 * @title Arguments = Float.POSITIVE_INFINITY, 60 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY, 65 * @title Arguments = Float.POSITIVE_INFINITY, 66 * Float.POSITIVE_INFINITY 70 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, 71 Float.POSITIVE_INFINITY)); 75 * @title Arguments = Float.POSITIVE_INFINITY, -2.7f 79 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY [all...] |
/cts/tests/vm/src/android/vm/cts/opcodes/add_float_2addr/ |
AddFloat2AddrTest.java | 50 assertEquals(Float.POSITIVE_INFINITY, t.run(3.3028235E38f, 0.11E38f)); 54 * @title Arguments = Float.POSITIVE_INFINITY, 59 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY, 64 * @title Arguments = Float.POSITIVE_INFINITY, 65 * Float.POSITIVE_INFINITY 69 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, 70 Float.POSITIVE_INFINITY)); 74 * @title Arguments = Float.POSITIVE_INFINITY, -2.7f 78 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY [all...] |
/cts/tests/vm/src/android/vm/cts/opcodes/add_double/ |
AddDoubleTest.java | 55 * @title Arguments = Double.POSITIVE_INFINITY, 60 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY)); 64 * @title Arguments = Double.POSITIVE_INFINITY, 65 * Double.POSITIVE_INFINITY 69 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, 70 Double.POSITIVE_INFINITY)); 74 * @title Arguments = Double.POSITIVE_INFINITY, -2.7d 78 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, -2.7d)) [all...] |
/cts/tests/vm/src/android/vm/cts/opcodes/add_double_2addr/ |
AddDouble2AddrTest.java | 55 * @title Arguments = Double.POSITIVE_INFINITY, 60 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, 65 * @title Arguments = Double.POSITIVE_INFINITY, 66 * Double.POSITIVE_INFINITY 70 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, 71 Double.POSITIVE_INFINITY)); 75 * @title Arguments = Double.POSITIVE_INFINITY, -2.7d 79 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, [all...] |
/external/skia/src/animator/ |
SkDisplayNumber.cpp | 17 SK_PROPERTY(POSITIVE_INFINITY) 27 SK_MEMBER_PROPERTY(POSITIVE_INFINITY, Float) 56 case SK_PROPERTY(POSITIVE_INFINITY):
|
/art/test/411-optimizing-arith-mul/src/ |
Main.java | 119 expectNaN($opt$Mul(0F, Float.POSITIVE_INFINITY)); 124 expectNaN($opt$Mul(Float.NaN, Float.POSITIVE_INFINITY)); 126 expectEquals(Float.POSITIVE_INFINITY, $opt$Mul(2F, 3.40282346638528860e+38F)); 127 expectEquals(Float.POSITIVE_INFINITY, $opt$Mul(2F, Float.POSITIVE_INFINITY)); 128 expectEquals(Float.NEGATIVE_INFINITY, $opt$Mul(-2F, Float.POSITIVE_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)); 133 expectEquals(Float.POSITIVE_INFINITY, $opt$Mul(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY)) [all...] |
/art/test/414-optimizing-arith-sub/src/ |
Main.java | 113 expectNaN($opt$Sub(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY)); 117 expectNaN($opt$Sub(Float.NaN, Float.POSITIVE_INFINITY)); 120 expectEquals(Float.NEGATIVE_INFINITY, $opt$Sub(2F, Float.POSITIVE_INFINITY)); 121 expectEquals(Float.POSITIVE_INFINITY, $opt$Sub(Float.MAX_VALUE, -Float.MAX_VALUE)); 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)); 140 expectNaN($opt$Sub(Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY)) [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_float/ |
Test_add_float.java | 54 assertEquals(Float.POSITIVE_INFINITY, t.run(3.3028235E38f, 0.11E38f)); 58 * @title Arguments = Float.POSITIVE_INFINITY, 63 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY, 68 * @title Arguments = Float.POSITIVE_INFINITY, 69 * Float.POSITIVE_INFINITY 73 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, 74 Float.POSITIVE_INFINITY)); 78 * @title Arguments = Float.POSITIVE_INFINITY, -2.7f 82 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_float_2addr/ |
Test_add_float_2addr.java | 54 assertEquals(Float.POSITIVE_INFINITY, t.run(3.3028235E38f, 0.11E38f)); 58 * @title Arguments = Float.POSITIVE_INFINITY, 63 assertTrue(Float.isNaN(t.run(Float.POSITIVE_INFINITY, 68 * @title Arguments = Float.POSITIVE_INFINITY, 69 * Float.POSITIVE_INFINITY 73 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, 74 Float.POSITIVE_INFINITY)); 78 * @title Arguments = Float.POSITIVE_INFINITY, -2.7f 82 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY [all...] |
/libcore/ojluni/src/main/java/sun/misc/ |
FloatConsts.java | 41 public static final float POSITIVE_INFINITY = java.lang.Float.POSITIVE_INFINITY;
|
DoubleConsts.java | 41 public static final double POSITIVE_INFINITY = java.lang.Double.POSITIVE_INFINITY;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_double/ |
Test_add_double.java | 61 * @title Arguments = Double.POSITIVE_INFINITY, 66 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, 71 * @title Arguments = Double.POSITIVE_INFINITY, 72 * Double.POSITIVE_INFINITY 76 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, 77 Double.POSITIVE_INFINITY)); 81 * @title Arguments = Double.POSITIVE_INFINITY, -2.7d 85 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_double_2addr/ |
Test_add_double_2addr.java | 58 * @title Arguments = Double.POSITIVE_INFINITY, 63 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, 68 * @title Arguments = Double.POSITIVE_INFINITY, 69 * Double.POSITIVE_INFINITY 73 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, 74 Double.POSITIVE_INFINITY)); 78 * @title Arguments = Double.POSITIVE_INFINITY, -2.7d 82 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_float/ |
Test_sub_float.java | 60 * @title Arguments = Float.POSITIVE_INFINITY, 65 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, 70 * @title Arguments = Float.POSITIVE_INFINITY, 71 * Float.POSITIVE_INFINITY 75 assertEquals(Float.NaN, t.run(Float.POSITIVE_INFINITY, 76 Float.POSITIVE_INFINITY)); 80 * @title Arguments = Float.POSITIVE_INFINITY, -2.7f 84 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_float_2addr/ |
Test_sub_float_2addr.java | 58 * @title Arguments = Float.POSITIVE_INFINITY, 63 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, 68 * @title Arguments = Float.POSITIVE_INFINITY, 69 * Float.POSITIVE_INFINITY 73 assertEquals(Float.NaN, t.run(Float.POSITIVE_INFINITY, 74 Float.POSITIVE_INFINITY)); 78 * @title Arguments = Float.POSITIVE_INFINITY, -2.7f 82 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldDoubleTest.java | 34 assertEquals(0x7ff0000000000000L, Double.doubleToLongBits(Double.POSITIVE_INFINITY)); 40 assertEquals(0x7ff0000000000000L, Double.doubleToLongBits(Double.POSITIVE_INFINITY)); 45 assertEquals(Double.POSITIVE_INFINITY, new Double("1.7976931348623159E308").doubleValue()); 52 assertEquals(Float.POSITIVE_INFINITY, new Double("3.4028236E38").floatValue()); 76 assertEquals("Returned incorrect value", Double.POSITIVE_INFINITY,
|
/libcore/ojluni/src/test/java/util/stream/ |
TestDoubleSumAverage.java | 102 testCases.put(() -> DoubleStream.of(MAX_VALUE, MAX_VALUE), POSITIVE_INFINITY); 105 testCases.put(() -> DoubleStream.of(1.0d, POSITIVE_INFINITY, 1.0d), POSITIVE_INFINITY); 106 testCases.put(() -> DoubleStream.of(POSITIVE_INFINITY), POSITIVE_INFINITY); 107 testCases.put(() -> DoubleStream.of(POSITIVE_INFINITY, POSITIVE_INFINITY), POSITIVE_INFINITY); 108 testCases.put(() -> DoubleStream.of(POSITIVE_INFINITY, POSITIVE_INFINITY, 0.0), POSITIVE_INFINITY) [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_double/ |
Test_sub_double.java | 59 * @title Arguments = Double.POSITIVE_INFINITY, 64 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, 69 * @title Arguments = Double.POSITIVE_INFINITY, 70 * Double.POSITIVE_INFINITY 74 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, 75 Double.POSITIVE_INFINITY)); 79 * @title Arguments = Double.POSITIVE_INFINITY, -2.7d 83 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_double_2addr/ |
Test_sub_double_2addr.java | 58 * @title Arguments = Double.POSITIVE_INFINITY, 63 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, 68 * @title Arguments = Double.POSITIVE_INFINITY, 69 * Double.POSITIVE_INFINITY 73 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, 74 Double.POSITIVE_INFINITY)); 78 * @title Arguments = Double.POSITIVE_INFINITY, -2.7d 82 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, [all...] |
/dalvik/dx/tests/054-dex-high16/ |
Blort.java | 63 sink(Float.POSITIVE_INFINITY); 71 sink(Double.POSITIVE_INFINITY);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
SafeConstructorTest.java | 27 assertEquals(Double.POSITIVE_INFINITY, yaml.load("+.inf")); 28 assertEquals(Double.POSITIVE_INFINITY, yaml.load(".inf"));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_double/ |
Test_mul_double.java | 59 * @title Arguments = Double.POSITIVE_INFINITY, 0 63 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, 0)); 67 * @title Arguments = Double.POSITIVE_INFINITY, -2.7d 71 assertEquals(Double.NEGATIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, 76 * @title Arguments = Double.POSITIVE_INFINITY, 81 assertEquals(Double.NEGATIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, 106 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.MAX_VALUE,
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_double_2addr/ |
Test_mul_double_2addr.java | 60 * @title Arguments = Double.POSITIVE_INFINITY, 0 64 assertEquals(Double.NaN, t.run(Double.POSITIVE_INFINITY, 0)); 68 * @title Arguments = Double.POSITIVE_INFINITY, -2.7d 72 assertEquals(Double.NEGATIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, 77 * @title Arguments = Double.POSITIVE_INFINITY, 82 assertEquals(Double.NEGATIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, 107 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.MAX_VALUE,
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_float/ |
Test_mul_float.java | 59 * @title Arguments = Float.POSITIVE_INFINITY, 0 63 assertEquals(Float.NaN, t.run(Float.POSITIVE_INFINITY, 0)); 67 * @title Arguments = Float.POSITIVE_INFINITY, -2.7f 71 assertEquals(Float.NEGATIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, 76 * @title Arguments = Float.POSITIVE_INFINITY, 81 assertEquals(Float.NEGATIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, 106 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.MAX_VALUE,
|