7 return x
/ (-0x7fffffffL
- 1L);
13 return x
% (-0x7fffffffL
- 1L);
16 /* Since we have a negative divisor, this equation must hold for the
17 results of / and %; no specific results are guaranteed. */
19 std_eqn (long num
, long denom
, long quot
, long rem
)
21 /* For completeness, a check for "ABS (rem) < ABS (denom)" belongs here,
22 but causes trouble on 32-bit machines and isn't worthwhile. */
23 return quot
* (-0x7fffffffL
- 1L) + rem
== num
;
28 -1L, 0x7fffffffL
, -0x7fffffffL
- 1L
37 i
< sizeof (nums
) / sizeof (nums
[0]);
39 if (std_eqn (nums
[i
], -0x7fffffffL
- 1L, f (nums
[i
]), r (nums
[i
])) == 0)