From: dsr@mail.lns.cornell.edu (Daniel S. Riley)
To: Andrew Ellerton <andrewe@ned.dem.csiro.au>
Subject: Re: Division by zero crashes on DEC should be avoidable!
Date: 1998/03/06 [thread overview]
Message-ID: <shen0fkjo1.fsf@lns100.lns.cornell.edu> (raw)
In-Reply-To: 34FF7719.41C6@ned.dem.csiro.au
[mailed and posted, followup-to set]
Andrew Ellerton <andrewe@ned.dem.csiro.au> writes:
> However, the C++ code will crash the entire application
> on the DEC 4.0 version when it divides by zero. Is this
> solvable by (for example) compiling with a certain switch?
'cxx -ieee', if you have a new enough version of cxx. If you are
using g++, you will probably have to modify the code--I do not know
of any way to get full IEEE semantics with g++ on the Alpha.
--
Dan Riley dsr@mail.lns.cornell.edu
Wilson Lab, Cornell University <URL:http://www.lns.cornell.edu/~dsr/>
"History teaches us that days like this are best spent in bed"
prev parent reply other threads:[~1998-03-06 5:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-06 5:00 Division by zero crashes on DEC should be avoidable! Andrew Ellerton
1998-03-06 5:00 ` mathog
1998-03-06 5:00 ` Michael C. Grant
1998-03-06 5:00 ` Pierre Asselin
1998-03-08 5:00 ` Michael C. Grant
1998-03-06 5:00 ` Dag-Erling Coidan Sm�rgrav
1998-03-06 5:00 ` Michael C. Grant
1998-03-06 5:00 ` Jeffrey J. Potoff
1998-03-09 5:00 ` Dan A. Mercer
1998-03-06 5:00 ` John Wilson
1998-03-06 5:00 ` Ron Natalie
1998-03-06 5:00 ` Daniel S. Riley [this message]
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