OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:floatToLong
(Results
1 - 2
of
2
) sorted by null
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DexMakerTest.java
716
Method
floatToLong
= numericCastingMethod(float.class, long.class);
717
assertEquals(0L,
floatToLong
.invoke(null, 0.0f));
718
assertEquals(-1L,
floatToLong
.invoke(null, -1.0f));
719
assertEquals(10000000272564224L,
floatToLong
.invoke(null, 10e15f));
720
assertEquals(0L,
floatToLong
.invoke(null, 0.5f));
721
assertEquals(Long.MIN_VALUE,
floatToLong
.invoke(null, Float.NEGATIVE_INFINITY));
722
assertEquals(0L,
floatToLong
.invoke(null, Float.NaN));
[
all
...]
/art/test/422-type-conversion/src/
Main.java
110
floatToLong
();
372
private static void
floatToLong
() {
373
assertLongEquals(1L, $opt$noinline$
FloatToLong
(1F));
374
assertLongEquals(0L, $opt$noinline$
FloatToLong
(0F));
375
assertLongEquals(0L, $opt$noinline$
FloatToLong
(-0F));
376
assertLongEquals(-1L, $opt$noinline$
FloatToLong
(-1F));
377
assertLongEquals(51L, $opt$noinline$
FloatToLong
(51F));
378
assertLongEquals(-51L, $opt$noinline$
FloatToLong
(-51F));
379
assertLongEquals(0L, $opt$noinline$
FloatToLong
(0.5F));
380
assertLongEquals(0L, $opt$noinline$
FloatToLong
(0.4999999F))
[
all
...]
Completed in 3567 milliseconds