From: david sharp Newsgroups: comp.os.msdos.djgpp Subject: handling SIGFPE Date: 22 Nov 1998 00:26:07 GMT Lines: 8 Message-ID: <737lmv$14j$1@autumn.news.rcn.net> X-Trace: pMbGwRQi/OATf8Vu6s7C5RYLbnfUL2Bzf760Wh6SNpg= X-Complaints-To: abuse AT rcn DOT com NNTP-Posting-Date: 22 Nov 1998 00:26:07 GMT User-Agent: tin/pre-1.4-980226 (UNIX) (SunOS/5.5.1 (sun4m)) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Say I want to handle floating point exceptions in a program (compiled with DJGPP). If the program has a handler for SIGFPE's that directs the program to clear the directly affected variables, and then the program runs _control87() to clear FPU registers, and returns from the function where the offense occured, is that enough? I mean, can (should) I expect the program to continue without crashing? Is there some good documentation/examples to follow?