Searched refs:DoubleToInt (Results 1 – 2 of 2) sorted by relevance
/art/test/422-type-conversion/src/ |
D | Main.java | 427 assertIntEquals(1, $opt$noinline$DoubleToInt(1D)); in doubleToInt() 428 assertIntEquals(0, $opt$noinline$DoubleToInt(0D)); in doubleToInt() 429 assertIntEquals(0, $opt$noinline$DoubleToInt(-0D)); in doubleToInt() 430 assertIntEquals(-1, $opt$noinline$DoubleToInt(-1D)); in doubleToInt() 431 assertIntEquals(51, $opt$noinline$DoubleToInt(51D)); in doubleToInt() 432 assertIntEquals(-51, $opt$noinline$DoubleToInt(-51D)); in doubleToInt() 433 assertIntEquals(0, $opt$noinline$DoubleToInt(0.5D)); in doubleToInt() 434 assertIntEquals(0, $opt$noinline$DoubleToInt(0.4999999D)); in doubleToInt() 435 assertIntEquals(0, $opt$noinline$DoubleToInt(-0.4999999D)); in doubleToInt() 436 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
|