Date: Wed, 20 May 1998 12:12:06 +0300 (IDT) From: Eli Zaretskii To: "Dr. András Sólyom" cc: djgpp Subject: Re: Code to Fix sinh() in libm.a In-Reply-To: <3561653C.430C3AE4@eik.bme.hu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit Precedence: bulk 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.