Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: michal@gortel.phys.ualberta.ca (Michal Jaegermann)
Subject: Re: division by zero exceptions ?
Date: 1998/10/26	[thread overview]
Message-ID: <7117c0$rtu$1@pulp.ucs.ualberta.ca> (raw)
In-Reply-To: slrn737pv0.5bf.conrad@hive.me.gu.edu.au

Conrad Sanderson (conrad@hive.me.gu.edu.au) wrote:
: causes "Floating exception   Exit 136", while on Intel PII is says:
: "c =    Inf", which is the "correct" answer.

Read gcc documentantion, especially this part which explains
what various -mieee-... options are about and compile using one
of these (liek -mieee, for example).

: Is there any way to make the Alpha do the same thing as PII ?

Yep, but this has a performance impact as exceptions have to
be serialized.

: I know about linking with -mieee, but that makes programs run
: too slow, so that is not a solution for me.

Oh, so you heard some things. :-)  If you do not care about
values on exceptions you can always install "do nothing" signal
handler for SIGFPE (see 'man signal' for details). But how about
'-mieee-with-inexact'?

  Michal




  reply	other threads:[~1998-10-26  5:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-26  5:00 division by zero exceptions ? Conrad Sanderson
1998-10-26  5:00 ` Michal Jaegermann [this message]
1998-10-27  5:00 ` Remco Wouts
1998-10-28  5:00   ` Nils Faerber
1998-10-31  5:00 ` Shana Tackett
1998-10-30  5:00   ` James D. Freels
1998-10-31  5:00     ` Toon Moene
1998-10-31  5:00       ` Anthony W. Youngman
1998-11-01  5:00         ` Bill Metzenthen
1998-11-01  5:00           ` Anthony W. Youngman
1998-11-02  5:00             ` Bill Metzenthen
1998-11-02  5:00               ` Conrad Sanderson
1998-11-02  5:00             ` Stefan Davids
1998-11-01  5:00         ` Stefan Davids
1998-11-02  5:00         ` Michal Jaegermann
1998-10-31  5:00     ` Greg Lindahl
1998-11-03  5:00     ` rscanon
1998-10-31  5:00   ` Anthony W. Youngman
1998-11-01  5:00     ` Greg Lindahl
1998-10-31  5:00   ` Bill Metzenthen
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