Home
last modified time | relevance | path

Searched refs:Float (Results 1 – 20 of 20) sorted by relevance

/art/test/041-narrowing/
Dexpected.txt4 Float.POSITIVE_INFINITY = 7ff0000000000000
5 Float.NEGATIVE_INFINITY = fff0000000000000
7 Float.NaN = 7ff8000000000000
14 (byte) Float.NaN = 00 expected: 00
15 (short) Float.NaN = 0000 expected: 0000
16 (int) Float.NaN = 00000000 expected: 00000000
17 (long) Float.NaN = 0000000000000000 expected: 0000000000000000
29 (byte) Float.POSITIVE_INFINITY = ff expected: ff
30 (short) Float.POSITIVE_INFINITY = ffff expected: ffff
31 (int) Float.POSITIVE_INFINITY = 7fffffff expected: 7fffffff
[all …]
/art/test/082-inline-execute/src/
DMain.java298 Assert.assertEquals(Float.floatToRawIntBits(-1.0f), 0xbf800000);
299 Assert.assertEquals(Float.floatToRawIntBits(0.0f), 0);
300 Assert.assertEquals(Float.floatToRawIntBits(1.0f), 0x3f800000);
301 Assert.assertEquals(Float.floatToRawIntBits(Float.NaN), 0x7fc00000);
302 Assert.assertEquals(Float.floatToRawIntBits(Float.POSITIVE_INFINITY), 0x7f800000);
303 Assert.assertEquals(Float.floatToRawIntBits(Float.NEGATIVE_INFINITY), 0xff800000);
307 Assert.assertEquals(Float.intBitsToFloat(0xbf800000), -1.0f);
308 Assert.assertEquals(Float.intBitsToFloat(0x00000000), 0.0f);
309 Assert.assertEquals(Float.intBitsToFloat(0x3f800000), 1.0f);
310 Assert.assertEquals(Float.intBitsToFloat(0x7fc00000), Float.NaN);
[all …]
/art/test/044-proxy/src/
DReturnsAndArgPassing.java164 myHandler.returnType = Float.class; in testProxyReturns()
165 check(proxyMyInterface.floatFoo() == Float.MAX_VALUE); in testProxyReturns()
169 check(proxyMyInterface.floatBar() == Float.MIN_VALUE); in testProxyReturns()
333 myHandler.returnType = Float.class; // Float -> byte == fail in testProxyReturns()
446 Float.MAX_VALUE, Double.MAX_VALUE, Object.class) == 0); in testProxyArgPassing()
448 Float.MAX_VALUE, Double.MAX_VALUE, Object.class) == Integer.MAX_VALUE); in testProxyArgPassing()
450 Float.MAX_VALUE, Double.MAX_VALUE, Object.class) == Long.MAX_VALUE); in testProxyArgPassing()
451 check((Float)proxyMyInterface.selectArg(3, Integer.MAX_VALUE, Long.MAX_VALUE, in testProxyArgPassing()
452 Float.MAX_VALUE, Double.MAX_VALUE, Object.class) == Float.MAX_VALUE); in testProxyArgPassing()
454 Float.MAX_VALUE, Double.MAX_VALUE, Object.class) == Double.MAX_VALUE); in testProxyArgPassing()
[all …]
/art/test/041-narrowing/src/
DMain.java14 + Long.toHexString(Double.doubleToRawLongBits(Float.POSITIVE_INFINITY))); in test_printNarrowing()
16 + Long.toHexString(Double.doubleToRawLongBits(Float.NEGATIVE_INFINITY))); in test_printNarrowing()
20 + Long.toHexString(Double.doubleToRawLongBits(Float.NaN))); in test_printNarrowing()
35 float fl2 = Float.NaN; in test_printNarrowing()
73 float fl3 = Float.POSITIVE_INFINITY; in test_printNarrowing()
85 float fl4 = Float.NEGATIVE_INFINITY; in test_printNarrowing()
/art/test/082-inline-execute/src/junit/framework/
DAssert.java118 if (Float.isInfinite(expected)) { in assertEquals()
120 failNotEquals(message, new Float(expected), new Float(actual)); in assertEquals()
122 failNotEquals(message, new Float(expected), new Float(actual)); in assertEquals()
/art/test/021-string2/src/junit/framework/
DAssert.java118 if (Float.isInfinite(expected)) { in assertEquals()
120 failNotEquals(message, new Float(expected), new Float(actual)); in assertEquals()
122 failNotEquals(message, new Float(expected), new Float(actual)); in assertEquals()
/art/test/CreateMethodSignature/
DCreateMethodSignature.java18 Float m1(int a, double b, long c, Object d) { return null; } in m1()
/art/test/093-serialization/src/
DMain.java110 Float five;
/art/test/046-reflect/src/
DMain.java147 new Float(3.1415926f), in run()
151 + ((Float)argList[1]).floatValue()); in run()
359 args = new Object[] { new Integer(7), new Float(3.3333) }; in run()
/art/runtime/verifier/
Dreg_type_cache.h105 const RegType& Float() { in Float() function
Dmethod_verifier.cc1215 reg_line->SetRegisterType(arg_start + cur_arg, reg_types_.Float()); in SetTypesFromSignature()
1777 if (!work_line_->VerifyRegisterType(inst->VRegB_23x(), reg_types_.Float())) { in CodeFlowVerifyInstruction()
1780 if (!work_line_->VerifyRegisterType(inst->VRegC_23x(), reg_types_.Float())) { in CodeFlowVerifyInstruction()
2311 work_line_->CheckUnaryOp(inst, reg_types_.Float(), reg_types_.Float()); in CodeFlowVerifyInstruction()
2322 work_line_->CheckUnaryOp(inst, reg_types_.Float(), reg_types_.Integer()); in CodeFlowVerifyInstruction()
2333 work_line_->CheckUnaryOpFromWide(inst, reg_types_.Float(), in CodeFlowVerifyInstruction()
2341 work_line_->CheckUnaryOp(inst, reg_types_.Integer(), reg_types_.Float()); in CodeFlowVerifyInstruction()
2345 reg_types_.Float()); in CodeFlowVerifyInstruction()
2349 reg_types_.Float()); in CodeFlowVerifyInstruction()
2360 work_line_->CheckUnaryOpFromWide(inst, reg_types_.Float(), in CodeFlowVerifyInstruction()
[all …]
Dreg_type_cache.cc81 return Float(); in FromDescriptor()
Dreg_type_test.cc272 const RegType& float_reg_type = cache.Float(); in TEST_F()
/art/compiler/sea_ir/types/
Dtype_inference.cc126 argument_types.push_back(&type_cache_->Float()); in GetDeclaredArgumentTypes()
/art/test/201-built-in-exception-detail-messages/src/
DMain.java125 Object[] array = new Float[10][]; in arrayStore()
/art/test/100-reflect2/src/
DMain.java93 f.set(null, Float.valueOf(1.3f)); in testFieldReflection()
/art/runtime/
Dcheck_jni.cc1365 FIELD_ACCESSORS(jfloat, Float, "F");
1479 CALL(jfloat, Float, jfloat result, result =, NON_VOID_RETURN("F", jfloat), "F");
1582 NEW_PRIMITIVE_ARRAY(jfloatArray, Float);
1655 PRIMITIVE_ARRAY_FUNCTIONS(jfloat, Float, 'F');
Djni_internal.cc1618 GET_PRIMITIVE_FIELD(Float, obj); in GetFloatField()
1650 GET_STATIC_PRIMITIVE_FIELD(Float); in GetStaticFloatField()
1670 SET_PRIMITIVE_FIELD(Float, obj, v); in SetFloatField()
1702 SET_STATIC_PRIMITIVE_FIELD(Float, v); in SetStaticFloatField()
Djni_internal_test.cc1402 EXPECT_STATIC_PRIMITIVE_FIELD(Float, "sF", "F", 1.0, 2.0); in TEST_F()
1411 EXPECT_PRIMITIVE_FIELD(o, Float, "iF", "F", 1.0, 2.0); in TEST_F()
/art/test/100-reflect2/
Dexpected.txt33 1.3 (class java.lang.Float)