OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:doubletofloat
(Results
1 - 1
of
1
) sorted by null
/external/dexmaker/src/test/java/com/google/dexmaker/
DexMakerTest.java
634
Method
doubleToFloat
= numericCastingMethod(double.class, float.class);
635
assertEquals(0.0f,
doubleToFloat
.invoke(null, 0.0));
636
assertEquals(-1.0f,
doubleToFloat
.invoke(null, -1.0));
637
assertEquals(0.5f,
doubleToFloat
.invoke(null, 0.5));
638
assertEquals(Float.NEGATIVE_INFINITY,
doubleToFloat
.invoke(null, Double.NEGATIVE_INFINITY));
639
assertEquals(Float.NaN,
doubleToFloat
.invoke(null, Double.NaN));
[
all
...]
Completed in 4271 milliseconds