OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:doubleToLong
(Results
1 - 3
of
3
) sorted by null
/external/dexmaker/src/test/java/com/google/dexmaker/
DexMakerTest.java
627
Method
doubleToLong
= numericCastingMethod(double.class, long.class);
628
assertEquals(0L,
doubleToLong
.invoke(null, 0.0));
629
assertEquals(-1L,
doubleToLong
.invoke(null, -1.0));
630
assertEquals(10000000000000000L,
doubleToLong
.invoke(null, 10e15));
631
assertEquals(0L,
doubleToLong
.invoke(null, 0.5));
632
assertEquals(Long.MIN_VALUE,
doubleToLong
.invoke(null, Double.NEGATIVE_INFINITY));
633
assertEquals(0L,
doubleToLong
.invoke(null, Double.NaN));
[
all
...]
/art/test/422-type-conversion/src/
Main.java
119
doubleToLong
();
450
private static void
doubleToLong
() {
451
assertLongEquals(1L, $opt$noinline$
DoubleToLong
(1D));
452
assertLongEquals(0L, $opt$noinline$
DoubleToLong
(0D));
453
assertLongEquals(0L, $opt$noinline$
DoubleToLong
(-0D));
454
assertLongEquals(-1L, $opt$noinline$
DoubleToLong
(-1D));
455
assertLongEquals(51L, $opt$noinline$
DoubleToLong
(51D));
456
assertLongEquals(-51L, $opt$noinline$
DoubleToLong
(-51D));
457
assertLongEquals(0L, $opt$noinline$
DoubleToLong
(0.5D));
458
assertLongEquals(0L, $opt$noinline$
DoubleToLong
(0.4999999D))
[
all
...]
/external/guice/extensions/persist/lib/
db4o-6.4.14.8131-java5.jar
Completed in 571 milliseconds