Mail Archives: djgpp/1996/05/30/12:36:34
Hafiz Awang Pon (004277a AT news DOT acadiau DOT ca) wrote:
: ok. here's my situation. i have a program which when
: ran can give a floating point exception error and
: sometimes not.I'm trying to find the bug right now,
: but how do you finf a bug that sometimes appear
: and sometimes not. I'm not expecting any detail
: information about this, since at this point i am not
: presenting any of my code. i'm just wondering
: if anyone else had similar problems in the past, and
: if they do, hpw do they fixed it.
: ...gotta stop spending sleepless coffee induced
: nights :)
: thanx in advance.
: 004277a AT dragon DOT acadiau DOT ca
: http://dragon.acadiau.ca/~004277a
Yeah, I've experienced this before. My problem was that I was dividing by a
variable that turned out to be 0 every once in a while.
--
_____ ___________
|\ \|\ \
_____ _____ | \ \ \ _____\
|\ \|\ \ \ \ \ \ \ |
| \ \ \ \ _____\ \ \ \______
\ \ \ \ \ |\ \ \ \
\ \ \ \ \ | \_____ \ \ _____\
_____\ \ \ \_____ \ | \ \ \ \ |
|\ \ \ \ \|______\ \ \ \___|
| \__________\ \_________\ |\ \ \ \
\ | | | | | \___________\ \____\
\|__________|\|_________| \ | | | |
\|___________|\|____|
- Raw text -