OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:fl2
(Results
1 - 2
of
2
) sorted by null
/art/test/041-narrowing/src/
Main.java
35
float
fl2
= Float.NaN;
local
38
+ (Long.toHexString((byte)
fl2
).equals("0") ? "00" : Long.toHexString((byte)
fl2
)
41
+ (Integer.toHexString((short)
fl2
).equals("0") ? "0000" : Integer.toHexString(
42
(short)
fl2
).substring(4)) + " expected: 0000");
44
+ (Integer.toHexString((int)
fl2
).equals("0") ? "00000000" : Integer
45
.toHexString((int)
fl2
)) + " expected: 00000000");
47
+ (Long.toHexString((long)
fl2
).equals("0") ? "0000000000000000" : Long
48
.toHexString((long)
fl2
)) + " expected: 0000000000000000");
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
BigDecimalTest.java
330
BigDecimal
fl2
= new BigDecimal(2.345E37);
local
331
assertTrue("the float representation of bigDecimal 2.345E37",
fl2
333
fl2
= new BigDecimal(-1.00E-44);
334
assertTrue("the float representation of bigDecimal -1.00E-44",
fl2
336
fl2
= new BigDecimal(-3E12);
337
assertTrue("the float representation of bigDecimal -3E12",
fl2
339
fl2
= new BigDecimal(Double.MAX_VALUE);
342
fl2
.floatValue() == Float.POSITIVE_INFINITY);
343
fl2
= new BigDecimal(-Double.MAX_VALUE);
346
fl2
.floatValue() == Float.NEGATIVE_INFINITY)
[
all
...]
Completed in 123 milliseconds