From: sime AT fly DOT cc DOT fer DOT hr (S. Mikecin) Newsgroups: comp.os.msdos.djgpp Subject: Re: Floating Point Exception - crashing constantly - HELP! Date: 7 Sep 1997 12:44:23 GMT Organization: FER, Croatia Lines: 18 Distribution: world Message-ID: <5uu7j7$fqf@bagan.srce.hr> References: <3412392b DOT 5744845 AT news DOT ican DOT net> Reply-To: sime AT fly DOT cc DOT etf DOT hr NNTP-Posting-Host: fly.cc.etf.hr Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Billal Chaudhry (thevoid AT hotmail DOT com) wrote: : Hello. I am currently TRYING to get a piece of simple perfect texture : mapping. i have the basic code and algorithm working but what ever i : try i always get a floating point exception error and then either my : computer freezes or the program crashes leving me messed up. : i have attached the code to the bottom of this post please view it and : tell me where i might be going wrong. and if any one has any : suggestions to change the code please do. I'd appreciate the reply's : being mailed to me since my news server blows chunks... You will probably solve it by calling control87 (or a similar name, you'll find out) function from float.h with parameters MSW_EM,MSW_EM. -- // E-mail: smikecin AT bigfoot DOT com // URL: http://fly.cc.fer.hr/~sime