Mail Archives: djgpp/1996/12/16/17:00:34
In article <58gvqc$26p AT newsfeed DOT cs DOT auc DOT dk>,
Frank Frederiksen <ff AT kom DOT auc DOT dk> wrote:
>In our research project we are transmitting some floating point
>numbers over a radio channel (the position of a mobile transmitter).
>
>Our problem is that we sometimes get bit errors, i.e., some of the
>bits in the numbers are wrong. When we analyze the data, we then
>sometimes get a 'exiting due to SIGFPE' followed by a stack trace.
The first thing to do if you want to avoid the aborts is to use
_control87 to set the exception mask to avoid such exits. (The
other option is to use a signal handler to fix the exception.)
Eric
--
Eric Korpela | An object at rest can never be
korpela AT ssl DOT berkeley DOT edu | stopped.
<a href="http://www.cs.indiana.edu/finger/mofo.ssl.berkeley.edu/korpela/w">
Click here for more info.</a>
- Raw text -