Home
last modified time | relevance | path

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

/art/test/580-checker-round/src/
DMain.java35 expectEquals32(-2147483648, round32(Float.NEGATIVE_INFINITY)); in main()
36 expectEquals32(-2, round32(-1.51f)); in main()
37 expectEquals32(-1, round32(-1.2f)); in main()
38 expectEquals32(-1, round32(-1.0f)); in main()
39 expectEquals32(-1, round32(-0.5000001f)); in main()
40 expectEquals32(0, round32(-0.5f)); in main()
41 expectEquals32(0, round32(-0.2f)); in main()
42 expectEquals32(0, round32(-0.0f)); in main()
43 expectEquals32(0, round32(+0.0f)); in main()
44 expectEquals32(0, round32(+0.2f)); in main()
[all …]
/art/test/568-checker-onebit/src/
DMain.java52 expectEquals32(0x00000000, hi32(0x00000000)); in main()
53 expectEquals32(0x00000000, lo32(0x00000000)); in main()
54 expectEquals32(0x00010000, hi32(0x00010000)); in main()
55 expectEquals32(0x00010000, lo32(0x00010000)); in main()
56 expectEquals32(0x00800000, hi32(0x00FF0000)); in main()
57 expectEquals32(0x00010000, lo32(0x00FF0000)); in main()
58 expectEquals32(0x80000000, hi32(0xFFFFFFFF)); in main()
59 expectEquals32(0x00000001, lo32(0xFFFFFFFF)); in main()
62 expectEquals32(0, hi32(xi[i])); in main()
63 expectEquals32(0, lo32(xi[i])); in main()
[all …]
/art/test/577-checker-fp2int/src/
DMain.java49 expectEquals32(0xff800000, f2int(Float.NEGATIVE_INFINITY)); in main()
50 expectEquals32(0xbf800000, f2int(-1.0f)); in main()
51 expectEquals32(0x80000000, f2int(-0.0f)); in main()
52 expectEquals32(0x00000000, f2int(+0.0f)); in main()
53 expectEquals32(0x3f800000, f2int(+1.0f)); in main()
54 expectEquals32(0x7f800000, f2int(Float.POSITIVE_INFINITY)); in main()
58 expectEquals32(i, f2int(Float.intBitsToFloat(i))); in main()
73 expectEquals32(0x7fc00000, f2int(fvals[i])); in main()
107 private static void expectEquals32(int expected, int result) { in expectEquals32() method in Main
/art/test/645-checker-abs-simd/src/
DMain.java202 expectEquals32((byte) Math.abs((byte) i), xb[i]); in main()
210 expectEquals32((char) Math.abs((char) i), xc[i]); in main()
218 expectEquals32((short) Math.abs((short) i), xs[i]); in main()
225 expectEquals32((char) Math.abs((short) i), xc[i]); in main()
238 expectEquals32(0x80000000, xi[0]); in main()
239 expectEquals32(0x7fffffff, xi[1]); in main()
240 expectEquals32(0x7fffffff, xi[2]); in main()
241 expectEquals32(13, xi[3]); in main()
242 expectEquals32(1, xi[4]); in main()
243 expectEquals32(0, xi[5]); in main()
[all …]
/art/test/631-checker-fp-abs/src/
DMain.java70 expectEquals32(0, Float.floatToRawIntBits($opt$noinline$absSP(+0.0f))); in main()
71 expectEquals32(0, Float.floatToRawIntBits($opt$noinline$absSP(-0.0f))); in main()
141 private static void expectEquals32(int expected, int result) { in expectEquals32() method in Main