Home
last modified time | relevance | path

Searched refs:round (Results 1 – 13 of 13) sorted by relevance

/art/test/082-inline-execute/src/
DMain.java810 Math.round(2.1d);
811 Assert.assertEquals(Math.round(+0.0d), (long)+0.0);
812 Assert.assertEquals(Math.round(-0.0d), (long)+0.0);
813 Assert.assertEquals(Math.round(2.0d), 2l);
814 Assert.assertEquals(Math.round(2.1d), 2l);
815 Assert.assertEquals(Math.round(2.5d), 3l);
816 Assert.assertEquals(Math.round(2.9d), 3l);
817 Assert.assertEquals(Math.round(3.0d), 3l);
818 Assert.assertEquals(Math.round(-2.0d), -2l);
819 Assert.assertEquals(Math.round(-2.1d), -2l);
[all …]
/art/runtime/arch/
Dmemcmp16_test.cc53 for (size_t round = 0; round < kMemCmp16Rounds; ++round) { in CheckSeparate() local
145 ASSERT_EQ(expected, computed) << "Run " << round << ", c1=" << count1 << " c2=" << count2; in CheckSeparate()
/art/test/580-checker-round/
DAndroid.bp3 name: "art-run-test-580-checker-round",
/art/test/580-checker-round/src/
DMain.java23 return Math.round(f); in round32()
30 return Math.round(d); in round64()
/art/runtime/gc/space/
Dspace_test.h132 int round, size_t growth_limit);
144 int round, in SizeFootPrintGrowthLimitAndTrimBody() argument
195 if (round <= 1) { in SizeFootPrintGrowthLimitAndTrimBody()
293 if (round <= 1) { in SizeFootPrintGrowthLimitAndTrimBody()
/art/test/988-method-trace/src/art/
DTest988Intrinsics.java114 java.lang.Math.round(0.0); in test()
115 java.lang.Math.round(0.0f); in test()
/art/test/064-field-access/src/
DMain.java539 for (int round = 0; round < 3; round++) { in doReflectionTests()
545 switch (round) { in doReflectionTests()
/art/test/530-checker-lse2/src/
DMain.java150 mJ <<= (Math.round(1237681786.0)); in testMethod()
/art/tools/checker/
DREADME42 enclosed in round brackets. For example, the pattern '{{foo{2}}}' will parse
/art/test/988-method-trace/
Dexpected.txt485 ..=> public static long java.lang.Math.round(double)
486 ..<= public static long java.lang.Math.round(double) -> <class java.lang.Long: 0>
487 ..=> public static int java.lang.Math.round(float)
488 ..<= public static int java.lang.Math.round(float) -> <class java.lang.Integer: 0>
/art/test/626-checker-arm64-scratch-register/smali/
DMain2.smali341 # s = ((float) Math.round(100.0f * s)) / 100.0f;
1429 invoke-static/range {v42 .. v42}, Ljava/lang/Math;->round(F)I
/art/
DTEST_MAPPING912 "name": "art-run-test-580-checker-round"
/art/test/083-compiler-regressions/src/
DMain.java108 double d2 = Math.round(d1); in b17411468()