OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dbl2
(Results
1 - 2
of
2
) sorted by null
/external/libffi/testsuite/libffi.call/
return_dbl2.c
10
static double return_dbl(double dbl1, double
dbl2
, unsigned int in3, double dbl4)
12
return dbl1 +
dbl2
+ in3 + dbl4;
19
double dbl1,
dbl2
, dbl4, rdbl;
local
26
values[1] = &
dbl2
;
34
dbl2
= 128.0;
39
printf ("%f vs %f\n", rdbl, return_dbl(dbl1,
dbl2
, in3, dbl4));
40
CHECK(rdbl == dbl1 +
dbl2
+ in3 + dbl4);
/dalvik/tests/041-narrowing/src/
Main.java
21
double
dbl2
= Double.NaN;
local
24
+ (Long.toHexString((byte)
dbl2
).equals("0") ? "00" : Long.toHexString((byte)
dbl2
)
27
+ (Integer.toHexString((short)
dbl2
).equals("0") ? "0000" : Integer.toHexString(
28
(short)
dbl2
).substring(4)) + " expected: 0000");
30
+ (Integer.toHexString((int)
dbl2
).equals("0") ? "00000000" : Integer
31
.toHexString((int)
dbl2
)) + " expected: 00000000");
33
+ (Long.toHexString((long)
dbl2
).equals("0") ? "0000000000000000" : Long
34
.toHexString((long)
dbl2
)) + " expected: 0000000000000000");
Completed in 279 milliseconds