Searched refs:DoubleToInt (Results 1 – 2 of 2) sorted by relevance
/art/test/422-type-conversion/src/ |
D | Main.java | 425 assertIntEquals(1, $opt$noinline$DoubleToInt(1D)); in doubleToInt() 426 assertIntEquals(0, $opt$noinline$DoubleToInt(0D)); in doubleToInt() 427 assertIntEquals(0, $opt$noinline$DoubleToInt(-0D)); in doubleToInt() 428 assertIntEquals(-1, $opt$noinline$DoubleToInt(-1D)); in doubleToInt() 429 assertIntEquals(51, $opt$noinline$DoubleToInt(51D)); in doubleToInt() 430 assertIntEquals(-51, $opt$noinline$DoubleToInt(-51D)); in doubleToInt() 431 assertIntEquals(0, $opt$noinline$DoubleToInt(0.5D)); in doubleToInt() 432 assertIntEquals(0, $opt$noinline$DoubleToInt(0.4999999D)); in doubleToInt() 433 assertIntEquals(0, $opt$noinline$DoubleToInt(-0.4999999D)); in doubleToInt() 434 assertIntEquals(0, $opt$noinline$DoubleToInt(-0.5D)); in doubleToInt() [all …]
|
/art/runtime/entrypoints/ |
D | math_entrypoints_test.cc | 51 TEST_F(MathEntrypointsTest, DoubleToInt) { in TEST_F() argument
|