www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/03/05:45:23

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: <Pine DOT SOL DOT 3 DOT 91 DOT 960625233137 DOT 905A-100000 AT sauron>
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 <float.h> in the beginning, of course. 

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019