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
();
398
private static void
floatToDouble
() {
399
assertDoubleEquals(1D, $opt$noinline$
FloatToDouble
(1F));
400
assertDoubleEquals(0D, $opt$noinline$
FloatToDouble
(0F));
401
assertDoubleEquals(0D, $opt$noinline$
FloatToDouble
(-0F));
402
assertDoubleEquals(-1D, $opt$noinline$
FloatToDouble
(-1F));
403
assertDoubleEquals(51D, $opt$noinline$
FloatToDouble
(51F));
404
assertDoubleEquals(-51D, $opt$noinline$
FloatToDouble
(-51F));
405
assertDoubleEquals(0.5D, $opt$noinline$
FloatToDouble
(0.5F));
406
assertDoubleEquals(0.49999991059303284D, $opt$noinline$
FloatToDouble
(0.4999999F))
[
all
...]
/external/dexmaker/src/test/java/com/google/dexmaker/
DexMakerTest.java
637
Method
floatToDouble
= numericCastingMethod(float.class, double.class);
638
assertEquals(0.0,
floatToDouble
.invoke(null, 0.0f));
639
assertEquals(-1.0,
floatToDouble
.invoke(null, -1.0f));
640
assertEquals(0.5,
floatToDouble
.invoke(null, 0.5f));
641
assertEquals(Double.NEGATIVE_INFINITY,
floatToDouble
.invoke(null, Float.NEGATIVE_INFINITY));
642
assertEquals(Double.NaN,
floatToDouble
.invoke(null, Float.NaN));
[
all
...]
Completed in 104 milliseconds