2 20120427-2.c from the execute part of the gcc torture suite.
13 unsigned sig
; /* Significant. */
14 int exp
; /* Exponent. */
18 sreal_compare (sreal
*a
, sreal
*b
)
39 testTortureExecute (void)
42 for (i
= 0; i
<= 3; i
++) {
43 for (j
= 0; j
< 3; j
++) {
44 ASSERT(!(i
< j
&& sreal_compare(&a
[i
], &a
[j
]) != -1));
45 ASSERT(!(i
== j
&& sreal_compare(&a
[i
], &a
[j
]) != 0));
46 ASSERT(!(i
> j
&& sreal_compare(&a
[i
], &a
[j
]) != 1));