OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:floatToDouble
(Results
1 - 2
of
2
) sorted by null
/art/test/422-type-conversion/src/
Main.java
113
floatToDouble
();
400
private static void
floatToDouble
() {
401
assertDoubleEquals(1D, $opt$noinline$
FloatToDouble
(1F));
402
assertDoubleEquals(0D, $opt$noinline$
FloatToDouble
(0F));
403
assertDoubleEquals(0D, $opt$noinline$
FloatToDouble
(-0F));
404
assertDoubleEquals(-1D, $opt$noinline$
FloatToDouble
(-1F));
405
assertDoubleEquals(51D, $opt$noinline$
FloatToDouble
(51F));
406
assertDoubleEquals(-51D, $opt$noinline$
FloatToDouble
(-51F));
407
assertDoubleEquals(0.5D, $opt$noinline$
FloatToDouble
(0.5F));
408
assertDoubleEquals(0.49999991059303284D, $opt$noinline$
FloatToDouble
(0.4999999F))
[
all
...]
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DexMakerTest.java
743
Method
floatToDouble
= numericCastingMethod(float.class, double.class);
744
assertEquals(0.0,
floatToDouble
.invoke(null, 0.0f));
745
assertEquals(-1.0,
floatToDouble
.invoke(null, -1.0f));
746
assertEquals(0.5,
floatToDouble
.invoke(null, 0.5f));
747
assertEquals(Double.NEGATIVE_INFINITY,
floatToDouble
.invoke(null, Float.NEGATIVE_INFINITY));
748
assertEquals(Double.NaN,
floatToDouble
.invoke(null, Float.NaN));
[
all
...]
Completed in 361 milliseconds