...
On x86 platforms, the modulo operator for signed integers is implemented by the idiv instruction code, along with the divide operator. Since Because INT_MIN / -1 overflows, this code will throw a floating-point exception on INT_MIN % -1.
...