Home
last modified time | relevance | path

Searched refs:DoubleToLong (Results 1 – 2 of 2) sorted by relevance

/art/test/422-type-conversion/src/
DMain.java451 assertLongEquals(1L, $opt$noinline$DoubleToLong(1D)); in doubleToLong()
452 assertLongEquals(0L, $opt$noinline$DoubleToLong(0D)); in doubleToLong()
453 assertLongEquals(0L, $opt$noinline$DoubleToLong(-0D)); in doubleToLong()
454 assertLongEquals(-1L, $opt$noinline$DoubleToLong(-1D)); in doubleToLong()
455 assertLongEquals(51L, $opt$noinline$DoubleToLong(51D)); in doubleToLong()
456 assertLongEquals(-51L, $opt$noinline$DoubleToLong(-51D)); in doubleToLong()
457 assertLongEquals(0L, $opt$noinline$DoubleToLong(0.5D)); in doubleToLong()
458 assertLongEquals(0L, $opt$noinline$DoubleToLong(0.4999999D)); in doubleToLong()
459 assertLongEquals(0L, $opt$noinline$DoubleToLong(-0.4999999D)); in doubleToLong()
460 assertLongEquals(0L, $opt$noinline$DoubleToLong(-0.5D)); in doubleToLong()
[all …]
/art/runtime/entrypoints/
Dmath_entrypoints_test.cc27 TEST_F(MathEntrypointsTest, DoubleToLong) { in TEST_F() argument