Searched refs:FloatToInt (Results 1 – 2 of 2) sorted by relevance
/art/test/422-type-conversion/src/ |
D | Main.java | 347 assertIntEquals(1, $opt$noinline$FloatToInt(1F)); in floatToInt() 348 assertIntEquals(0, $opt$noinline$FloatToInt(0F)); in floatToInt() 349 assertIntEquals(0, $opt$noinline$FloatToInt(-0F)); in floatToInt() 350 assertIntEquals(-1, $opt$noinline$FloatToInt(-1F)); in floatToInt() 351 assertIntEquals(51, $opt$noinline$FloatToInt(51F)); in floatToInt() 352 assertIntEquals(-51, $opt$noinline$FloatToInt(-51F)); in floatToInt() 353 assertIntEquals(0, $opt$noinline$FloatToInt(0.5F)); in floatToInt() 354 assertIntEquals(0, $opt$noinline$FloatToInt(0.4999999F)); in floatToInt() 355 assertIntEquals(0, $opt$noinline$FloatToInt(-0.4999999F)); in floatToInt() 356 assertIntEquals(0, $opt$noinline$FloatToInt(-0.5F)); in floatToInt() [all …]
|
/art/runtime/entrypoints/ |
D | math_entrypoints_test.cc | 63 TEST_F(MathEntrypointsTest, FloatToInt) { in TEST_F() argument
|