From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 20679 invoked from network); 27 Jan 1999 18:30:52 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 27 Jan 1999 18:30:52 -0000 Received: from bec.physics.udel.edu (dubois@bec.physics.udel.edu [128.175.112.143]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA20451 for ; Wed, 27 Jan 1999 13:30:29 -0500 Received: from localhost (dubois@localhost) by bec.physics.udel.edu (8.8.7/8.8.7) with SMTP id NAA08855 for ; Wed, 27 Jan 1999 13:30:13 -0500 Date: Wed, 27 Jan 1999 13:30:08 -0500 (EST) From: Jonathan L Dubois Reply-To: Jonathan L Dubois To: axp-list@redhat.com Subject: Re: An sqrt() experiment In-Reply-To: <199901262251.OAA28689@netcom6.netcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII > > This is a bit confusing. Already for some time, the "official" libm on > > AXP/Linux **IS** based on fdlibdm !! do you know how to measure the accuracy of your sqrt routine? I would be curious to know how the routines compare in this regard. from libffm README: Ideal function routines should have a *relative* error of less than 0.5 ulp (ulp = units of the last place), this means that the result (mantissa) is always a perfectly rounded, 52 bit version of the infinite precision, theoretical result. The new fast sqrt is a stripped down, rescheduled version of the libm one, that does no final rounding of the last bit. Error is guaranteed to be within -1 ulp < err < +1.0625 ulp (according to libdm documentation). This routine is now as fast as Crays sqrt, but much more accurate.