OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:floattolong
(Results
1 - 1
of
1
) sorted by null
/external/dexmaker/src/test/java/com/google/dexmaker/
DexMakerTest.java
601
Method
floatToLong
= numericCastingMethod(float.class, long.class);
602
assertEquals(0L,
floatToLong
.invoke(null, 0.0f));
603
assertEquals(-1L,
floatToLong
.invoke(null, -1.0f));
604
assertEquals(10000000272564224L,
floatToLong
.invoke(null, 10e15f));
605
assertEquals(0L,
floatToLong
.invoke(null, 0.5f));
606
assertEquals(Long.MIN_VALUE,
floatToLong
.invoke(null, Float.NEGATIVE_INFINITY));
607
assertEquals(0L,
floatToLong
.invoke(null, Float.NaN));
[
all
...]
Completed in 38 milliseconds