From: "Gerald A. Feldman" <"gafNoSPAM"@mediaone.net (Remove NoSpam)>
To: "James D. Freels" <fea@ornl.gov>
Subject: Re: floating point exceptions: Linux kernel feature or bug?
Date: 1998/05/03 [thread overview]
Message-ID: <6iicrm$9i1$1@ndnws01.ne.highway1.com> (raw)
In-Reply-To: v1sk9835r5b.fsf@fea.rrd.ornl.gov
James D. Freels wrote:
> I have a problem with floating-point error on the DEC-Alpha under
> Linux. I have on a single machine installed on separate disks: (1)
I can't answer the question WRT FORTRAN per se. However, the alpha
chips do not support the IEEE infinities, NaNs, and denormals directly.
They generate a trap. In Digital Unix and Linux, the kernel contains
contains the IEEE exception handler for IEEE. First, the compiler must
be told to generate FP instructions with the /S modifier. In DUX, the
options are -ieee, -ieee-with-no-inexact and -ieee-with-inexact
On GCC, the option is -mieee. The most current Alpha chip (EV6) does
understand infinities.
--
Jerry Feldman <gaf@mediaone.net>
Boston Computer Solutions and Consulting
http://gaf.ne.mediaone.net/
next prev parent reply other threads:[~1998-05-03 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-03 4:00 floating point exceptions: Linux kernel feature or bug? James D. Freels
1998-05-03 4:00 ` Gerald A. Feldman [this message]
1998-05-04 4:00 ` Michal Jaegermann
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