Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <richard@atheist.tamu.edu>
Subject: Re: Floating point exception
Date: Mon, 16 Dec 1996 10:15:15 -0600 (CST)	[thread overview]
Message-ID: <7ac6241d7e811577d9f04c961caa2189.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.95.961215124644.26796Q-100000@sexpistols.dontknow.com>

> Anyone know why this program causes a floating point exception on the
> Alpha?
[...]
> 	if(a > DBL_MIN) {

Yes.  The constant that gcc is giving the assembler is not DBL_MIN
but in fact a denormal just smaller than that.  And the default
FP exception flags signal underflows.

There is a patch: ftp.redhat.com:/pub/alphabits/rth-gcc-2.7.2-9611*.
It should be applied to the RPM from RH40.

r~

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

  parent reply	other threads:[~1996-12-16 16:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.95.961215124644.26796Q-100000@sexpistols.dontknow.com>
1996-12-15 21:31 ` Floating point exception Paul B. Brown
1996-12-15 22:33 ` David R. McGown
1996-12-16 16:15 ` Richard Henderson [this message]
1996-12-16 19:21 Przemek Klosowski
     [not found] <199612152221.RAA06013@churchy.gnu.ai.mit.edu>
1996-12-16 18:44 ` Jerry Feldman
  -- strict thread matches above, loose matches on Subject: below --
1996-12-15 22:21 Craig Burley
1996-12-15 12:54 Dan McGuirk
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