manpagez: man pages & more
info autoconf
Home | html | info | man

File: autoconf.info,  Node: Signed Integer Division,  Prev: Signed Overflow Advice,  Up: Integer Overflow

13.2.5 Signed Integer Division and Integer Overflow
---------------------------------------------------

Overflow in signed integer division is not always harmless: for example,
on CPUs of the i386 family, dividing ‘INT_MIN’ by ‘-1’ yields a SIGFPE
signal which by default terminates the program.  Worse, taking the
remainder of these two values typically yields the same signal on these
CPUs, behavior that the C standard allows.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.