From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,84278579ba085c08 X-Google-Attributes: gid111c93,public From: "H.W. Stockman" Subject: Re: FP exceptions on redhat 5.1 Date: 1998/09/12 Message-ID: <35F9BAB0.5DDE@wizard.com>#1/1 X-Deja-AN: 390292492 Content-Transfer-Encoding: 7bit References: Content-Type: text/plain; charset=us-ascii Organization: Lentil Sorbet, Inc. MIME-Version: 1.0 Reply-To: hwstock@wizard.com NNTP-Posting-Date: Fri, 11 Sep 1998 19:08:19 MDT Newsgroups: comp.os.linux.alpha Conrad Steenberg wrote: > > Hi all > > I have this really annoying problem with egcs-1.02 that came with Redhat 5.1: > A floating point exception would be raised whenever an underflow occurs. > > My question is this: is there an easy way to disable FP exceptions? I can live > with having a few NaN's generated now and again, but I don't want to litter > the code with if's to test for underflows... Isn't there a compiler switch to disable IEEE handling of denormals? Most alpha compilers make such a condition the default, since there alpha doesn't handle denormals in hardware. I'm quite curious about the answer, since I'm in the market for a Linux alpha system, would use ecgs, and have code that generates lots of unimportant denormals.