From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21765 invoked from network); 12 Jan 1999 21:29:10 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 12 Jan 1999 21:29:09 -0000 Received: from relay3.UU.NET (relay3.UU.NET [192.48.96.8]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA18059 for ; Tue, 12 Jan 1999 16:07:10 -0500 Received: from uucp3.uu.net by relay3.UU.NET with SMTP (peer crosschecked as: uucp3.uu.net [192.48.96.83]) id QQfxwu19022 for ; Tue, 12 Jan 1999 16:07:09 -0500 (EST) Received: from m10.UUCP by uucp3.uu.net with UUCP/RMAIL ; Tue, 12 Jan 1999 16:07:09 -0500 Received: from hamster by m10.lorentzian.com; Tue, 12 Jan 1999 15:30:34 -0500 Sender: johnm@lorentzian.com Message-ID: <369BB19B.404561A8@hamster.lorentzian.com> Date: Tue, 12 Jan 1999 20:33:31 +0000 From: John Montgomery Organization: Lorentzian, Inc. X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.36 i586) MIME-Version: 1.0 To: uunet!redhat.com!axp-list@uunet.uu.net Subject: Re: Floating point question References: <369B7F02.301B4E6A@hamster.lorentzian.com> <369B8228.320288BD@nist.gov> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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