delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/20/05:15:16

Date: Wed, 20 May 1998 12:12:06 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Dr. András Sólyom" <solyom AT eik DOT bme DOT hu>
cc: djgpp <djgpp AT delorie DOT com>
Subject: Re: Code to Fix sinh() in libm.a
In-Reply-To: <3561653C.430C3AE4@eik.bme.hu>
Message-ID: <Pine.SUN.3.91.980520121146.24974D-100000@is>
MIME-Version: 1.0

On Tue, 19 May 1998, Dr. András Sólyom wrote:

> What is the case with GCC ? DOes it allow to catch/test all possible floating
> point exceptions?

I don't really understand what exactly is the problem with MSC, so I
cannot give any definitive answer.

DJGPP allows you to control the FPU behavior by providing a function
to set the x87 control word.  For example, setting a certain bit there
would cause SIGFPE to be delivered to your program if you try to
compute exp(MAX_INT).

If you ask whether GCC emits instructions which change the x87 status
word, then I don't think it does, at least in simple programs that I
tried.

- Raw text -


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