From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,8f4675e684077bec X-Google-Attributes: gid111c93,public X-Google-Thread: 11d52c,8f4675e684077bec X-Google-Attributes: gid11d52c,public From: "Gerald A. Feldman" <"gafNoSPAM"@mediaone.net (Remove NoSpam)> Subject: Re: floating point exceptions: Linux kernel feature or bug? Date: 1998/05/03 Message-ID: <6iicrm$9i1$1@ndnws01.ne.highway1.com>#1/1 X-Deja-AN: 349877801 Content-Transfer-Encoding: 7bit References: To: "James D. Freels" Content-Type: text/plain; charset=us-ascii Organization: Boston Computer Solutions and Consulting Mime-Version: 1.0 Newsgroups: ornl.mail.alpha-osf-managers,comp.os.linux.alpha 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 Boston Computer Solutions and Consulting http://gaf.ne.mediaone.net/