OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:longToDouble
(Results
1 - 3
of
3
) sorted by null
/art/test/422-type-conversion/src/
Main.java
104
longToDouble
();
326
private static void
longToDouble
() {
327
assertDoubleEquals(1D, $opt$noinline$
LongToDouble
(1L));
328
assertDoubleEquals(0D, $opt$noinline$
LongToDouble
(0L));
329
assertDoubleEquals(-1D, $opt$noinline$
LongToDouble
(-1L));
330
assertDoubleEquals(51D, $opt$noinline$
LongToDouble
(51L));
331
assertDoubleEquals(-51D, $opt$noinline$
LongToDouble
(-51L));
332
assertDoubleEquals(2147483647D, $opt$noinline$
LongToDouble
(2147483647L)); // 2^31 - 1
333
assertDoubleEquals(-2147483647D, $opt$noinline$
LongToDouble
(-2147483647L)); // -(2^31 - 1)
334
assertDoubleEquals(-2147483648D, $opt$noinline$
LongToDouble
(-2147483648L)); // -(2^31
[
all
...]
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DexMakerTest.java
698
Method
longToDouble
= numericCastingMethod(long.class, double.class);
699
assertEquals(0.0,
longToDouble
.invoke(null, 0L));
700
assertEquals(-1.0,
longToDouble
.invoke(null, -1L));
701
assertEquals(9007199254740992.0,
longToDouble
.invoke(null, 9007199254740992L));
702
assertEquals(9007199254740992.0,
longToDouble
.invoke(null, 9007199254740993L)); // precision
[
all
...]
/external/guice/extensions/persist/lib/
db4o-6.4.14.8131-java5.jar
Completed in 119 milliseconds