Mail Archives: djgpp/1998/05/24/12:36:33
On 23 May 1998, Jesse Bennett wrote:
> In fact, I prefer that the program terminate with a FP exception, so
> that I am forced to fix the bug
This option will always be there: just set up x87 to generate
exceptions by calling `_control87' at the beginning of `main'.
However, ANSI Standard specifically says that a program should NOT
crash when exceptional numerical values are produced. So I think the
*default* behavior cannot be to generate SIGFPE.
- Raw text -