From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 8360 invoked from network); 26 Jan 1999 20:35:46 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 26 Jan 1999 20:35:46 -0000 Received: from utep.el.utwente.nl (utep.el.utwente.nl [130.89.30.10]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA28509 for ; Tue, 26 Jan 1999 15:07:22 -0500 Received: from tn.utwente.nl (uttnb55.tn.utwente.nl [130.89.74.55]) by utep.el.utwente.nl (8.9.1/8.9.1) with ESMTP id VAA15467 for ; Tue, 26 Jan 1999 21:07:33 +0100 (MET) Message-ID: <36AE2025.C0BA3C15@tn.utwente.nl> Date: Tue, 26 Jan 1999 21:05:57 +0100 From: "Andrei A. Dergatchev" X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en,ru MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: An sqrt() experiment References: <199901261939.LAA05186@netcom6.netcom.com> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Hi, Thanks for pointing to the library. > Here are the timing results on my 533MHz 21164a (UX2 Ruffian): > > y = 30865358776.919712, time = 2.037109 secs. [sqrt] <-- libm > y = 30865358776.919712, time = 0.470703 secs. [sqt] > > y = 30865358776.919712, time = 0.303711 secs. [sqrt] <-- libffm > y = 30865358776.919712, time = 0.475586 secs. [sqt] Have you used any optimization ? I've got .453125 with -O5(6) on SX. Any expert out here wants to explain why I've got 0.450195 secs for [sqt] running under MC? > * WARNING: Special cases such as 0, +/-inf, +-NaN are ignored Btw, is it fair to compare with a code which tests for special cases ? Rgds, Andrei