/external/skia/src/animator/ |
SkDisplayNumber.cpp | 15 SK_PROPERTY(NEGATIVE_INFINITY), 25 SK_MEMBER_PROPERTY(NEGATIVE_INFINITY, Float), 50 case SK_PROPERTY(NEGATIVE_INFINITY):
|
/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...] |
/libcore/ojluni/src/main/java/sun/misc/ |
FloatConsts.java | 42 public static final float NEGATIVE_INFINITY = java.lang.Float.NEGATIVE_INFINITY;
|
DoubleConsts.java | 42 public static final double NEGATIVE_INFINITY = java.lang.Double.NEGATIVE_INFINITY;
|
/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...] |
/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));
|
/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...] |
/dalvik/dx/tests/054-dex-high16/ |
Blort.java | 60 sink(Float.NEGATIVE_INFINITY); 68 sink(Double.NEGATIVE_INFINITY);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
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());
|
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/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...] |
/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));
|
/art/test/302-float-conversion/src/ |
Main.java | 19 static volatile double negInfinity = Double.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());
|
/frameworks/base/core/java/android/annotation/ |
FloatRange.java | 45 double from() default Double.NEGATIVE_INFINITY;
|
/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));
|