OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dbl3
(Results
1 - 2
of
2
) sorted by null
/art/test/041-narrowing/src/
Main.java
49
double
dbl3
= Double.POSITIVE_INFINITY;
local
52
+ (Integer.toHexString((byte)
dbl3
).equals("0") ? "00" : Integer.toHexString(
53
(byte)
dbl3
).substring(6)) + " expected: ff");
55
+ (Integer.toHexString((short)
dbl3
).equals("0") ? "0000" : Integer.toHexString(
56
(short)
dbl3
).substring(4)) + " expected: ffff");
58
+ Integer.toHexString((int)
dbl3
) + " expected: 7fffffff");
59
System.out.println("(long) Double.POSITIVE_INFINITY = " + Long.toHexString((long)
dbl3
)
/dalvik/tests/041-narrowing/src/
Main.java
49
double
dbl3
= Double.POSITIVE_INFINITY;
local
52
+ (Integer.toHexString((byte)
dbl3
).equals("0") ? "00" : Integer.toHexString(
53
(byte)
dbl3
).substring(6)) + " expected: ff");
55
+ (Integer.toHexString((short)
dbl3
).equals("0") ? "0000" : Integer.toHexString(
56
(short)
dbl3
).substring(4)) + " expected: ffff");
58
+ Integer.toHexString((int)
dbl3
) + " expected: 7fffffff");
59
System.out.println("(long) Double.POSITIVE_INFINITY = " + Long.toHexString((long)
dbl3
)
Completed in 57 milliseconds