Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: dsr@mail.lns.cornell.edu (Daniel S. Riley)
To: Armin Wittmann <witt@ife.ee.ethz.ch>
Subject: Re: DU4.0 cxx|cc MINFLOAT and MINDOUBLE wrong?
Date: 1997/02/11	[thread overview]
Message-ID: <sh4tfjqvj7.fsf@lns100.lns.cornell.edu> (raw)
In-Reply-To: 33005FC7.41C6@ife.ee.ethz.ch


[mailed and posted, followup-to set]

Armin Wittmann <witt@ife.ee.ethz.ch> writes:
> Machine: DEC alpha 3000 300/300L AXP
> OS: Digital Unix 4.0
[...]
> I was surprised to see that the values of
> MINFLOAT and MINDOUBLE
> are defined less then the compiler can work with!

Try 'cxx -ieee'.  The default compiler settings produce code that is
not IEEE conformant, since getting all the fiddly bits right creates a
lot of extra work for the processor which slows down benchmarks.  The
'-ieee' flag should fix it under 4.0--for earlier versions you need
some different set of flags, and I'm not even sure you can get the
right behavior out of cxx under older OS versions.  (Tested under DUX
4.0B with cxx 5.4-006.)
-- 
Dan Riley                                         dsr@mail.lns.cornell.edu
Wilson Lab, Cornell University       HEPNET/SPAN: lns598::dsr (44630::dsr)
http://www.lns.cornell.edu/~dsr/ "Distance means nothing/To me" -Kate Bush



  reply	other threads:[~1997-02-11  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-11  5:00 DU4.0 cxx|cc MINFLOAT and MINDOUBLE wrong? Armin Wittmann
1997-02-11  5:00 ` Daniel S. Riley [this message]
1997-02-11  5:00 ` Lawrence Kirby
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