Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

...