From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 9003 invoked from network); 12 Jan 1999 17:22:10 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 12 Jan 1999 17:22:10 -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 MAA31660 for ; Tue, 12 Jan 1999 12:00:15 -0500 Received: from uucp1.uu.net by relay3.UU.NET with SMTP (peer crosschecked as: uucp1.uu.net [192.48.96.81]) id QQfxwe07958 for ; Tue, 12 Jan 1999 12:00:14 -0500 (EST) Received: from m10.UUCP by uucp1.uu.net with UUCP/RMAIL ; Tue, 12 Jan 1999 12:00:14 -0500 Received: from hamster by m10.lorentzian.com; Tue, 12 Jan 1999 11:54:43 -0500 Sender: johnm@lorentzian.com Message-ID: <369B7F02.301B4E6A@hamster.lorentzian.com> Date: Tue, 12 Jan 1999 16:57:38 +0000 From: John Montgomery Organization: Lorentzian, Inc. X-Mailer: Mozilla 3.01 (X11; I; Linux 2.0.36 i586) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Floating point question Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. John Montgomery