From: Joachim Wesner <Joachim.Wesner@frankfurt.netsurf.de>
Subject: Re: sqrt performance, further comment.
Date: Fri, 05 Mar 1999 18:55:36 +0100 [thread overview]
Message-ID: <36E01A98.97B28BCA@frankfurt.netsurf.de> (raw)
In-Reply-To: <199903040515.WAA19477@ellpspace.math.ualberta.ca>
Martin Kahlert wrote:
>
> Quoting Joachim Wesner (Joachim.Wesner@frankfurt.netsurf.de):
> > However, when fitting the *full* range, the problem is the infinite
> > derivative at zero, that fools all polynomial approx. schemes. Maybe my
> > approximation software fails here a bit, but, even at 10 th order, I
> > can't get better 2e-3 *absolute* precision.
>
> Only a small suggestion (no big background in function approximation here):
> What about approximating x*sqrt(x)? This should be much simpler.
Which would somehow force you to later divide by x or am I mssing
something here ? Actually, this way you are doing a very simple
*rational* approximation of the form P(x)/x for sqrt(x). As also
discussed on the list, this IS generally better, but I estimate it's not
faster in the end as using the Newtonian iterations that double the
number of valid bits in each step.
Cheers
Joachim
prev parent reply other threads:[~1999-03-05 17:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-03 20:53 sqrt performance esci
1999-03-03 21:40 ` Andrei A. Dergatchev
1999-03-04 5:15 ` Michal Jaegermann
1999-03-04 18:30 ` Joachim Wesner
1999-03-04 18:48 ` sqrt performance, further comment Joachim Wesner
1999-03-04 19:41 ` Michal Jaegermann
1999-03-04 19:51 ` Joachim Wesner
1999-03-05 17:55 ` Joachim Wesner [this message]
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