4 movegt(int x
, int y
, long long a
)
8 for (i
= 0; i
< y
; i
++)
10 if (a
>= (long long) 0xf000000000000000LL
)
23 { 0xf000000000000000LL
, -1 },
24 { 0xefffffffffffffffLL
, 1 },
25 { 0xf000000000000001LL
, -1 },
26 { 0x0000000000000000LL
, -1 },
27 { 0x8000000000000000LL
, 1 },
34 for (i
= 0; i
< sizeof (tests
) / sizeof (tests
[0]); i
++)
36 if (movegt (-1, 1, tests
[i
].val
) != tests
[i
].ret
)