Xref: news2.mv.net comp.os.msdos.djgpp:5604 From: pvkeer AT vub DOT ac DOT be (Vankeerberghen Pieter) Newsgroups: comp.os.msdos.djgpp Subject: Re: Floating point exceptions Date: 3 Jul 1996 07:59:00 GMT Organization: Brussels Free Universities VUB/ULB Lines: 15 Message-ID: <4rd984$h6h@rc1.vub.ac.be> References: NNTP-Posting-Host: orca.vub.ac.be To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Rafael R. Sevilla (rsevilla AT upd DOT edu DOT ph) wrote: Snip snip : Linux) seem to not work the same way as the Sun version. In particular the : Sparc seems to forget that it's dividing by zero somewhere! There's a AFAIK, this can be due to not complying to the IEE754 standard. Thus you have to do this manually in DJGPP. put in your DJGPP source right after main: _control87(MCW_EM, MCW_EM); and #include in the beginning, of course.