Home
last modified time | relevance | path

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

/art/test/082-inline-execute/src/
DMain.java639 Math.round(2.1d);
640 Assert.assertEquals(Math.round(+0.0d), (long)+0.0);
641 Assert.assertEquals(Math.round(-0.0d), (long)+0.0);
642 Assert.assertEquals(Math.round(2.0d), 2l);
643 Assert.assertEquals(Math.round(2.1d), 2l);
644 Assert.assertEquals(Math.round(2.5d), 3l);
645 Assert.assertEquals(Math.round(2.9d), 3l);
646 Assert.assertEquals(Math.round(3.0d), 3l);
647 Assert.assertEquals(Math.round(-2.0d), -2l);
648 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/064-field-access/src/
DMain.java516 for (int round = 0; round < 3; round++) { in doReflectionTests()
522 switch (round) { in doReflectionTests()
/art/runtime/gc/space/
Dspace_test.h126 int round, size_t growth_limit);
406 int round, size_t growth_limit) { in SizeFootPrintGrowthLimitAndTrimBody() argument
456 if (round <= 1) { in SizeFootPrintGrowthLimitAndTrimBody()
554 if (round <= 1) { in SizeFootPrintGrowthLimitAndTrimBody()
/art/test/083-compiler-regressions/src/
DMain.java108 double d2 = Math.round(d1); in b17411468()