This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Floating Point Exception Handling


John L. Kulp wrote:
> > I'd like to get connected with whomever is working on topics like the
> > interaction between SIGFPE handlers and try/catch stack unwinding in
> > C++.

On Tue, Mar 30, 2004 at 05:45:27PM -0800, Jim Wilson wrote:
> There are few people expert in this area, and they are all very busy 
> people.  There may not be anyone who has time to help you.

It would require rather deep surgery, I think, to make this work.  G++
is not currently designed around the assumption that any floating point
instruction might throw an exception, which is pretty much what you would
need for such an idea to work.  It's probably a better idea to use
non-signaling Inf and NaN values, test for them at appropriate points and
explicitly throw exceptions.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]