Date: Sat, 20 Sep 1997 18:21:16 -0700 (PDT) Message-Id: <199709210121.SAA23867@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: "Nicholas Law" , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Floating Point Exception Precedence: bulk At 09:06 9/20/1997 GMT, Nicholas Law wrote: >Hi all! > >What does a floating point exception actually mean? I keep getting it in my >3D rotation code. Is it something to do with the cos and sin functions, or >am I dividing by zero or something? Could be any of the above. The SIGFPE indicates some sort of math error reported by the coprocessor, and also integer division by zero. Math errors can include using NaN's, dividing by zero, logs and roots of negative numbers, and probably several other things. Try compiling with -g and using symify on the traceback you get when the error happens. This should help you find it. HTH Nate Eldredge eldredge AT ap DOT net