Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Johannes G.D. Hausmann" <joe@neuro.uni-oldenburg.de>
To: axp-list@redhat.com
Subject: Re: Floating point problems
Date: Sun, 29 Nov 1998 13:15:14 +0000	[thread overview]
Message-ID: <366148E2.67B1BFDF@neuro.uni-oldenburg.de> (raw)
In-Reply-To: 9811281602460A.07172@apollo.bcas.de

Hi again,

> >But all your code examples work (at least with gcc 2.7.2.1)
> >if compiled with `-mieee'. Also be aware that `%lg' is not
> 
> Thanks, that should do it (I'll test it as soon as I get home).
> I did remember that there was something about `ieee', but not
> where it did belong.
> 

But using -miee may lead to slower code, at least that's what I
understood from several discussions about it on this list. So you
probably do not want to do it this way. As I said, 1.0e-310 is a
denormal, it is not zero, and further references to it lead to FPEs.
It's these things that give me headaches - C. Whaley found one
uninitialized array in the superscalar gemm-based BLAS that happened
to hold several of these denormals => FPEs. Using -mieee (instead of
proper init) solves the problem, too, but the cost is too high.

Why do you want to use this number anyway?

Jo
-- 
-----------------------------------------
Johannes Hausmann
Carl von Ossietzky Universitaet Oldenburg
FB Physik -- AG Komplexe Systeme

EMail : joe@neuro.uni-oldenburg.de
-----------------------------------------


  reply	other threads:[~1998-11-29 12:22 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-28 13:15 Floating point problems Heinz Ulrich Stille
1998-11-28 14:24 ` Johannes G.D. Hausmann
1998-11-28 13:58   ` Heinz Ulrich Stille
1998-11-28 14:48     ` Stefan Schroepfer
1998-11-28 14:57       ` Heinz Ulrich Stille
1998-11-29 13:15         ` Johannes G.D. Hausmann [this message]
1998-11-29 13:02           ` Heinz Ulrich Stille
1998-11-29 18:01           ` B. James Phillippe
  -- strict thread matches above, loose matches on Subject: below --
1998-11-30  8:16 y0000218
1998-11-30  9:08 ` Carles Perello
1998-11-30  9:53 ` Joachim Wesner
1998-11-30 14:22   ` Alvin Starr
1998-11-30 13:27     ` krebs
1998-11-30 17:06 ` Joachim Wesner
1998-12-03  0:48   ` Richard Henderson
1998-12-03 16:59     ` Greg Lindahl
1998-12-03 19:35       ` Joachim Wesner
1998-12-03 20:04       ` Richard Henderson
1998-12-03 20:16         ` Greg Lindahl
1998-12-03 23:44         ` Joachim Wesner
1998-12-01  8:42 ` Jochen Kuepper
1998-11-30 10:24 y0000218
1998-11-30 13:30 ` Alvin Starr
1998-12-03  0:48   ` Richard Henderson
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