OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dbl4
(Results
1 - 3
of
3
) sorted by null
/external/libffi/testsuite/libffi.call/
return_dbl1.c
10
static double return_dbl(double dbl1, float fl2, unsigned int in3, double
dbl4
)
12
return dbl1 + fl2 + in3 +
dbl4
;
19
double dbl1,
dbl4
, rdbl;
local
29
values[3] = &
dbl4
;
37
dbl4
= 512.7;
40
printf ("%f vs %f\n", rdbl, return_dbl(dbl1, fl2, in3,
dbl4
));
41
CHECK(rdbl == dbl1 + fl2 + in3 +
dbl4
);
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
28
values[3] = &
dbl4
;
36
dbl4
= 512.7;
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
61
double
dbl4
= Double.NEGATIVE_INFINITY;
local
64
+ (Long.toHexString((byte)
dbl4
).equals("0") ? " 00" : Long
65
.toHexString((byte)
dbl4
)) + " expected: 00");
67
+ (Integer.toHexString((short)
dbl4
).equals("0") ? " 0000" : Long
68
.toHexString((short)
dbl4
)) + " expected: 0000");
70
+ Integer.toHexString((int)
dbl4
) + " expected: 80000000");
71
System.out.println("(long) Double.NEGATIVE_INFINITY = " + Long.toHexString((long)
dbl4
)
Completed in 637 milliseconds