SIGFPE
SIGFPE is a signal defined by POSIX and used by Unix-like systems to indicate an arithmetic exception. It is delivered to a process when an arithmetic operation fails, typically due to errors such as integer division by zero, or floating-point errors that trigger a trap on some architectures.
The signal is delivered synchronously to the thread that caused the fault. The default action is to
Common causes include integer division by zero, integer overflow on architectures that raise a trap for it,
Handling SIGFPE is possible through signal handling facilities such as signal() or sigaction(). With sigaction and
Notes: in C, integer overflow is undefined behavior rather than guaranteed to raise SIGFPE, and floating-point