...
On gcc/Linux, taking the modulo of INT_MIN
by -1 produces a floating-point exception. However, on gcc versions 4.2.4 and newer, with optimization enabled, taking the modulo of INT_MIN
by -1 yields the value 0.
...
...
On gcc/Linux, taking the modulo of INT_MIN
by -1 produces a floating-point exception. However, on gcc versions 4.2.4 and newer, with optimization enabled, taking the modulo of INT_MIN
by -1 yields the value 0.
...