Hello,

Panicz Maciej Godek <[email protected]> writes:

> If all the operations were performed in the modulo
> arithmetics (as they are in low level languages), the
> problem would solve automatically.

Overflow when doing arithmetic with signed numbers is undefined in C.
See, for instance, GCC's documentation for `-fstrict-overflow'
(info "(gcc) Optimize Options").

Thanks,
Ludo'.



Reply via email to