Top "Sigfpe" questions

On POSIX-compliant platforms, SIGFPE is the signal sent to a process when it encounters an arithmetic error, such as division by zero.

what does C/C++ handler SIGFPE?

well, I have searched the articles about SIGFPE ,then I wrote a few tests but it's behavoir is strange. Then …

c++ signals sigfpe
why is there a SIGFPE?

for some reason, it used to work. but now i get a SIGFPE.....what's wrong? #include "usefunc.h" long factorial(…

c signals pascals-triangle sigfpe
Division by zero does not throw SIGFPE

I have a small program performing floating-point division by zero, so I expect SIGFPE. #include <sys/types.h> #…

c++ gcc floating-point sigfpe
Floating Point Exception Core Dump

I am newbie on the Linux signals, please help. The following code get core dump when run in Linux 2.6 gcc. $ ./…

c linux signals sigfpe