On Mon, Mar 12, 2001 at 12:16:35PM -0800, Bill Broadley wrote:
> I'd suggesting checking out sigaddset, and the SIGFPE signal.
> 
> Install your own signal handler and do whatever you want when you
> detect a SIGFPE.  I believe SIGFPE includes underflow, overflow, and
> divide by zero, not sure though.

It certainly does.  However, since it is being assigned to an integer
type, and not a floating-point type, it will not detect this.

(I checked this earlier with some sample code).

Micah

Reply via email to