From: Jerry Feldman <gaf@zk3.dec.com>
Subject: Re: floating exception
Date: Tue, 13 Jan 98 08:25:54 -0500 [thread overview]
Message-ID: <e3c05285bca9c78407479ae2a37d033a.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.SOL.3.91.980113105530.27582E-100000@greco2>
Alessandro Mirone <alex@greco2.polytechnique.fr> wrote:
>
> I get "floating exceptions" (and core dump) from some programs
> that gave NaN when compiled on a PC-Linux.
> Could someone give me somt tips about how
> to deal with it? a solution of course would be checking the
> values before doing mathematical operations.
> But apart that could I use some compilation switch to get NaN
> and avoid crashing the programs?
> Any help is appreciated
> bye
You must compile with ieee. The Alpha chips generate an exception on several conditions such as NaN, Infinities, denormals. These must be handled in an exception handler. Use the -mieee when compiling with GCC.
+--------------------------------------------------------------------+
Jerry Feldman Digital Unix Development Environment
Digital Equipment Corp. (work)gaf@zk3.dec.com (home)gaf@mediaone.net
110 Spitbrook Rd. Mailstop: ZKO3-2/W17
Nashua, NH 03062-9987 (603)884-2970, DTN:264-2970
+--------------------------------------------------------------------+
--
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
next parent reply other threads:[~1998-01-13 13:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.SOL.3.91.980113105530.27582E-100000@greco2>
1998-01-13 13:25 ` Jerry Feldman [this message]
[not found] <Pine.SOL.3.91.980114105358.14105A-100000@greco2>
1998-01-14 16:00 ` floating exception Michal Jaegermann
[not found] <199801132125.WAA03288@stefan.sime.com>
1998-01-13 22:42 ` Michal Jaegermann
1998-01-14 13:29 ` Jerry Feldman
[not found] <199801132242.PAA03608@ellpspace.math.ualberta.ca>
1998-01-14 9:58 ` Alessandro Mirone
1998-01-13 21:25 Stefan Traby
-- strict thread matches above, loose matches on Subject: below --
1998-01-13 20:11 Richard Hadsell
1998-01-13 16:03 David Gilbert
1998-01-13 17:18 ` Jerry Feldman
[not found] <34BB6FB0.1092A7A0@cogency.co.uk>
1998-01-13 15:24 ` Jerry Feldman
1998-01-13 15:09 Richard Hadsell
1998-01-13 13:44 David Alan Gilbert
1998-01-13 11:00 Alessandro Mirone
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