Home
last modified time | relevance | path

Searched refs:round (Results 1 – 10 of 10) 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/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/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/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.java150 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/988-method-trace/
Dexpected.txt409 ..=> public static long java.lang.Math.round(double)
410 ..<= public static long java.lang.Math.round(double) -> <class java.lang.Long: 0>
411 ..=> public static int java.lang.Math.round(float)
412 ..<= public static int java.lang.Math.round(float) -> <class java.lang.Integer: 0>
/art/test/083-compiler-regressions/src/
DMain.java108 double d2 = Math.round(d1); in b17411468()