Date: Sun, 24 May 1998 19:36:08 +0300 (IDT) From: Eli Zaretskii To: Jesse Bennett cc: djgpp AT delorie DOT com Subject: Re: Code to Fix sinh() in libm.a In-Reply-To: <6k7akp$dor$1@superb.csc.ti.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.