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

Date: Thu, 7 Mar 1996 12:08:30 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Erik Luijten <erik AT tntnhb3 DOT tn DOT tudelft DOT nl>
Cc: djgpp <djgpp AT delorie DOT com>
Subject: Re: floating p. exception behaves strange
In-Reply-To: <9603070902.AA07840@tntnhb3.tn.tudelft.nl>
Message-Id: <Pine.SUN.3.91.960307120623.28164D-100000@is>
Mime-Version: 1.0

On Thu, 7 Mar 1996, Erik Luijten wrote:

> In other words: it seems that the floating point exception of a previous
> run affect the next run (at least if Win95 is the DPMI-host).

You can use _status87 and _control87 library functions to look at the 
coprocessor status word and put it into a certain state as far as 
floating exceptions are concerned.  Maybe the status word isn't cleared 
by the default exception handler?

- Raw text -


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