Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Hadsell <hadsell@blueskystudios.com>
To: Richard Henderson <rth@cygnus.com>
Cc: Wes Bauske <wsb@paralleldata.com>,
	"axp-list@redhat.com" <axp-list@redhat.com>
Subject: Re: g77 problems
Date: Sun, 06 Sep 1998 16:28:36 -0400	[thread overview]
Message-ID: <35F2F074.41C6@blueskystudios.com> (raw)
In-Reply-To: 19980905135024.A18098@dot.cygnus.com

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


  parent reply	other threads:[~1998-09-06 20:29 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-01 10:56 g77 problems Dr P. Caleb Dhanasekaran
1998-09-02  1:48 ` Michal Jaegermann
1998-09-02  4:23 ` Wes Bauske
1998-09-02 15:34   ` David Alan Gilbert
1998-09-03  6:23     ` Wes Bauske
1998-09-04  0:41       ` Richard Henderson
1998-09-05 19:57         ` Wes Bauske
1998-09-05 20:50           ` Richard Henderson
1998-09-06 20:22             ` Dave Gilbert
1998-09-06 21:05               ` Wes Bauske
1998-09-06 22:41               ` Richard Henderson
1998-09-06 20:28             ` Richard Hadsell [this message]
1998-09-06 20:57               ` Wes Bauske
1998-09-23 15:28 ` RedHat5.1 on UX4 Motherboard Dr P. Caleb Dhanasekaran
1998-09-23 17:00   ` furio ercolessi
1998-09-23 17:00   ` Nicholas Sallembian
1998-09-23 17:02   ` Adrian Gartland
1998-09-24 10:01   ` Armin Ollig
1998-09-24 17:16     ` Dr P. Caleb Dhanasekaran
  -- strict thread matches above, loose matches on Subject: below --
1998-09-02  1:27 g77 problems Greg Lindahl
1998-09-03 21:08 Greg Lindahl
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox