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
- Re: [vox-tech] detecting overflows Micah Cowan
- Re: [vox-tech] detecting overflows Peter Jay Salzman
- Re: [vox-tech] detecting overflows Bill Broadley
- Re: [vox-tech] detecting overflows Micah Cowan
- Re: [vox-tech] detecting overflows Mark K. Kim
- Re: [vox-tech] detecting overflows jdnewmil
- Re: [vox-tech] detecting overflows Mark K. Kim
- Re: [vox-tech] detecting overflows jdnewmil
- Re: [vox-tech] detecting overflows Micah Cowan
