From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 11352 invoked from network); 14 Aug 1998 13:03:34 -0000 Received: from ellpspace.math.ualberta.ca (root@129.128.88.19) by mail2.redhat.com with SMTP; 14 Aug 1998 13:03:34 -0000 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id TAA18001 for axp-list@redhat.com; Thu, 13 Aug 1998 19:26:13 -0600 From: Michal Jaegermann Message-Id: <199808140126.TAA18001@ellpspace.math.ualberta.ca> Subject: Re: RH5.1 axp floating point performance To: axp-list@redhat.com Date: Thu, 13 Aug 1998 19:26:13 -0600 (MDT) In-Reply-To: <199808140100.SAA02697@lamrc.lamrc.com> from "Cooperberg, David" at Aug 13, 98 10:12:05 am Content-Type: text Cooperberg, David wrote: > > I have noticed a considerable decline in floating-point performance in > upgrading from Redhat4.2 (for alpha) to Redhat 5.1 (same alpha). ..... > ftemp+= 2.*sqrt(ftemp); ^^^ As it was said already few times on this list 'sqrt()' function in a basic compiler library was replaced by significantly slower one but one which happens to be correct. The old one had bugs. Until a faster replacement will show up in a compiler libraries your best bet is to link with new floating point libraries mentioned a few postings ago. Such action will also significantly speed up other elementary functions. Michal