Xref: news2.mv.net comp.os.msdos.djgpp:4383 From: jlouwere AT galaxy DOT csc DOT calpoly DOT edu (Jan Louwerens) Newsgroups: comp.os.msdos.djgpp Subject: Re: anyone ever experienced this? Date: 29 May 1996 00:07:58 GMT Organization: Cal Poly Computer Science Dept. Lines: 36 Message-ID: <4og4gu$7gt@waldorf.csc.calpoly.edu> References: <31a8cfa8 DOT 0 AT 131 DOT 162 DOT 2 DOT 91> NNTP-Posting-User: jlouwere AT galaxy DOT csc DOT calpoly DOT edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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. -- _____ ___________ |\ \|\ \ _____ _____ | \ \ \ _____\ |\ \|\ \ \ \ \ \ \ | | \ \ \ \ _____\ \ \ \______ \ \ \ \ \ |\ \ \ \ \ \ \ \ \ | \_____ \ \ _____\ _____\ \ \ \_____ \ | \ \ \ \ | |\ \ \ \ \|______\ \ \ \___| | \__________\ \_________\ |\ \ \ \ \ | | | | | \___________\ \____\ \|__________|\|_________| \ | | | | \|___________|\|____|