From: John Montgomery <johnm@lorentzian.com>
To: uunet!redhat.com!axp-list@uunet.uu.net
Subject: Re: Floating point question
Date: Tue, 12 Jan 1999 20:33:31 +0000 [thread overview]
Message-ID: <369BB19B.404561A8@hamster.lorentzian.com> (raw)
In-Reply-To: 369B8228.320288BD@nist.gov
Adam C. Powell, IV wrote:
>
> John Montgomery wrote:
>
> > I asked the list recently how to deal with floating point exceptions
> > resulting from underflows. I was advised that I could use the -miee
> > flag, but that my code would run slower. Subsequent experimentation has
> > indicated how true this is - my code now works, but runs almost 3 times
> > slower than under Digital Unix. So I wonder
> >
> > 1) Why is ieee so much slower?
> >
> > 2) How is this problem handled on Digital Unix?
> >
> > Some of my factor of 3 is due to having used a better compiler on
> > Digital Unix, but probably not all of it. What else is going on?
> > I'll be grateful for any insights that people might have about this.
>
> Have you tried libffm? If not, the problem is definitely the math
> library. The one in glibc is vastly slower than either libffm or Digital
> Unix.
Thanks, this helps a lot. A 15 min test case now takes 10 min.
John Montgomery
next prev parent reply other threads:[~1999-01-12 21:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-12 16:57 Floating point question John Montgomery
1999-01-12 17:11 ` Adam C. Powell, IV
1999-01-12 17:43 ` Greg Lindahl
1999-01-12 20:33 ` John Montgomery [this message]
1999-01-12 21:10 ` Greg Lindahl
1999-01-12 22:03 ` John Montgomery
1999-01-13 14:09 ` Heinz Ulrich Stille
1999-01-13 14:36 ` Greg Lindahl
1999-01-13 20:47 ` Joachim Wesner
1999-01-13 21:01 ` Greg Lindahl
1999-01-14 12:31 ` 32 bit pointers Uncle George
1999-01-15 15:01 ` Floating point question Heinz Ulrich Stille
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