Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jonathan L Dubois <dubois@bec.physics.udel.edu>
To: axp-list@redhat.com
Subject: Re: An sqrt() experiment
Date: Wed, 27 Jan 1999 13:30:08 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.3.96.990127132305.8844A-100000@bec.physics.udel.edu> (raw)
In-Reply-To: <199901262251.OAA28689@netcom6.netcom.com>

> > 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. 



  reply	other threads:[~1999-01-27 18:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-01-26 22:51 An sqrt() experiment Munagala V. S. Ramanath
1999-01-27 18:30 ` Jonathan L Dubois [this message]
1999-01-28  8:17 ` Joachim Wesner
  -- strict thread matches above, loose matches on Subject: below --
1999-01-28 15:18 Munagala V. S. Ramanath
1999-01-26 22:14 Munagala V. S. Ramanath
1999-01-26 22:07 Munagala V. S. Ramanath
1999-01-26 19:39 Munagala V. S. Ramanath
1999-01-26 20:05 ` Andrei A. Dergatchev
1999-01-26 20:28   ` Andrei A. Dergatchev
1999-01-26 21:20 ` Joachim Wesner
1999-01-26 22:15 ` Wes Bauske
1999-01-29  6:28 ` Richard Henderson
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox