Home
last modified time | relevance | path

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

/art/test/082-inline-execute/src/
DMain.java809 Math.round(2.1d);
810 Assert.assertEquals(Math.round(+0.0d), (long)+0.0);
811 Assert.assertEquals(Math.round(-0.0d), (long)+0.0);
812 Assert.assertEquals(Math.round(2.0d), 2l);
813 Assert.assertEquals(Math.round(2.1d), 2l);
814 Assert.assertEquals(Math.round(2.5d), 3l);
815 Assert.assertEquals(Math.round(2.9d), 3l);
816 Assert.assertEquals(Math.round(3.0d), 3l);
817 Assert.assertEquals(Math.round(-2.0d), -2l);
818 Assert.assertEquals(Math.round(-2.1d), -2l);
[all …]
/art/runtime/arch/
Dmemcmp16_test.cc52 for (size_t round = 0; round < kMemCmp16Rounds; ++round) { in CheckSeparate() local
144 ASSERT_EQ(expected, computed) << "Run " << round << ", c1=" << count1 << " c2=" << count2; in CheckSeparate()
/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.h131 int round, size_t growth_limit);
143 int round, in SizeFootPrintGrowthLimitAndTrimBody() argument
194 if (round <= 1) { in SizeFootPrintGrowthLimitAndTrimBody()
292 if (round <= 1) { in SizeFootPrintGrowthLimitAndTrimBody()
/art/test/064-field-access/src/
DMain.java531 for (int round = 0; round < 3; round++) { in doReflectionTests()
537 switch (round) { in doReflectionTests()
/art/test/626-checker-arm64-scratch-register/src/
DMain.java288 s = ((float) Math.round(100.0f * s)) / 100.0f; in test()
/art/test/530-checker-lse2/src/
DMain.java134 mJ <<= (Math.round(1237681786.0)); in testMethod()
/art/tools/checker/
DREADME41 enclosed in round brackets. For example, the pattern '{{foo{2}}}' will parse
/art/test/083-compiler-regressions/src/
DMain.java108 double d2 = Math.round(d1); in b17411468()