www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/12/09:22:13

Date: Mon, 12 Feb 1996 16:14:28 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk>
Cc: djgpp AT delorie DOT com
Subject: Re: acos(2.0) and other errors

On Mon, 12 Feb 1996, A.Appleyard wrote:

> I am sick of program runs being hostage to one stray floating point overflow.
> What I want is one or both of (1) Being able to tell the PC to carry on
> regardless if overflow happens, (2) Being able to tell the PC to go to such
> and such an address if overflow happens.

Did you try to set the x87 control word (there are library functions to 
do that)?  In v2.0, you also could use the `matherr' library function.

- Raw text -


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