www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/24/12:36:33

Date: Sun, 24 May 1998 19:36:08 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jesse Bennett <nospam AT lenny DOT dseg DOT ti DOT com>
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: <Pine.SUN.3.91.980524193551.12971M-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019