From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 29052 invoked from network); 6 Sep 1998 20:29:37 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 6 Sep 1998 20:29:37 -0000 Received: from ns.blueskystudios.com ([209.208.142.100]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA00644 for ; Sun, 6 Sep 1998 16:30:18 -0400 Received: from harlem ([199.165.156.37]) by ns.blueskystudios.com (Netscape Mail Server v2.0) with SMTP id AAA683; Sun, 6 Sep 1998 16:37:42 -0400 Sender: hadsell@blueskystudios.com (Dick Hadsell) Message-ID: <35F2F074.41C6@blueskystudios.com> Date: Sun, 06 Sep 1998 16:28:36 -0400 From: Richard Hadsell Organization: Blue Sky | VIFX X-Mailer: Mozilla 3.01 (X11; I; IRIX64 6.2 IP28) MIME-Version: 1.0 To: Richard Henderson CC: Wes Bauske , "axp-list@redhat.com" Subject: Re: g77 problems References: <35ECC850.7721DCED@paralleldata.com> <35ED659F.10AAA5AF@treblig.org> <35EE35FB.2DD93032@paralleldata.com> <19980903174139.A32696@dot.cygnus.com> <35F19797.4ACE7995@paralleldata.com> <19980905135024.A18098@dot.cygnus.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Richard Henderson wrote: > > On Sat, Sep 05, 1998 at 07:57:11PM +0000, Wes Bauske wrote: > > Humm. What is the default mode for g77/gcc for undeflow, terminate or zero? > > The default is trap, I believe. > > > Thought Alphas cannot generate denormalized outputs, at least with HW. > > This is true. > > > I also like getting the 'right' answer so > > hiding un-initialized variables and screwed up > > indexing is not helpful from my point of view... > > Yes indeed. It is amazing how many people so want to bury > their heads in the sand over this. It's actually quite easy to generate a denormalized number using exp(). When the argument is barely more negative than required to exceed the representation limits in the result, the library function gives you a denormalized number. Then your code has to be compiled with -mieee, or it traps when you try to use the result. -- Dick Hadsell 914-381-8400 x5446 Fax: 914-381-9790 Reply-to: hadsell@blueskystudios.com Blue Sky | VIFX http://www.bluesky-vifx.com 1 South Road, Harrison, NY 10528