Searched refs:assertFloatEquals (Results 1 – 6 of 6) sorted by relevance
/art/test/422-type-conversion/src/ |
D | Main.java | 53 public static void assertFloatEquals(float expected, float result) { in assertFloatEquals() method in Main 186 assertFloatEquals(1F, $opt$noinline$ByteToFloat((byte)1)); in byteToFloat() 187 assertFloatEquals(0F, $opt$noinline$ByteToFloat((byte)0)); in byteToFloat() 188 assertFloatEquals(-1F, $opt$noinline$ByteToFloat((byte)-1)); in byteToFloat() 189 assertFloatEquals(51F, $opt$noinline$ByteToFloat((byte)51)); in byteToFloat() 190 assertFloatEquals(-51F, $opt$noinline$ByteToFloat((byte)-51)); in byteToFloat() 191 assertFloatEquals(127F, $opt$noinline$ByteToFloat((byte)127)); // 2^7 - 1 in byteToFloat() 192 assertFloatEquals(-127F, $opt$noinline$ByteToFloat((byte)-127)); // -(2^7 - 1) in byteToFloat() 193 assertFloatEquals(-128F, $opt$noinline$ByteToFloat((byte)-128)); // -(2^7) in byteToFloat() 197 assertFloatEquals(1F, $opt$noinline$ShortToFloat((short)1)); in shortToFloat() [all …]
|
/art/test/477-long-2-float-convers-precision/src/ |
D | Main.java | 21 public static void assertFloatEquals(float expected, float result) { in assertFloatEquals() method in Main 35 assertFloatEquals(Float.intBitsToFloat(-555858671), $opt$LongToFloat(-8008112895877447681L)); in longToFloat()
|
/art/test/442-checker-constant-folding/src/ |
D | Main.java | 42 public static void assertFloatEquals(float expected, float result) { in assertFloatEquals() method in Main 1528 assertFloatEquals(-42F, FloatNegation()); in main() 1536 assertFloatEquals(3F, FloatAddition()); in main() 1541 assertFloatEquals(4F, FloatSubtraction()); in main() 1546 assertFloatEquals(21F, FloatMultiplication()); in main() 1551 assertFloatEquals(3.2F, FloatDivision()); in main() 1556 assertFloatEquals(0.5F, FloatRemainder()); in main() 1629 assertFloatEquals(33, ReturnFloat33()); in main() 1630 assertFloatEquals(34, ReturnFloat34()); in main() 1631 assertFloatEquals(99.25f, ReturnFloat99P25()); in main()
|
/art/test/530-checker-lse/src/ |
D | Main.java | 1146 static void assertFloatEquals(float result, float expected) { in assertFloatEquals() method in Main 1191 assertFloatEquals(test19(fa1, fa2), 1.8f); in main() 1192 assertFloatEquals(test20().i, 0); in main() 1197 assertFloatEquals(test24(), 8.0f); in main() 1202 assertFloatEquals(testAllocationEliminationWithLoops(), 1.0f); in main() 1203 assertFloatEquals(mF, 0f); in main()
|
/art/test/458-checker-instruct-simplification/src/ |
D | Main.java | 39 public static void assertFloatEquals(float expected, float result) { in assertFloatEquals() method in Main 2656 assertFloatEquals(50.0f, $noinline$Div2(100.0f)); in main() 2658 assertFloatEquals(-400.0f, $noinline$DivMP25(100.0f)); in main() 2803 assertFloatEquals(654321.125f, $noinline$floatAddSubSimplifyArg1(floatArg, 654321.125f)); in main() 2804 assertFloatEquals(floatArg, $noinline$floatAddSubSimplifyArg2(floatArg, 654321.125f)); in main() 2805 assertFloatEquals(floatArg, $noinline$floatSubAddSimplifyLeft(floatArg, 654321.125f)); in main() 2806 assertFloatEquals(floatArg, $noinline$floatSubAddSimplifyRight(floatArg, 654321.125f)); in main()
|
/art/test/530-checker-lse-ctor-fences/src/ |
D | Main.java | 169 static void assertFloatEquals(float result, float expected) { in assertFloatEquals() method in Main
|