DSPRelated.com
Forums

square root algorithm for DSP56300

Started by KR October 24, 2004

Hi,
Can someone recommend an accurate square root algorithm for a double
precision 48 bit fractional number between 0 and 1?

Best Regards,
Kevin
www.checkeffect.net




Hi Kevin

Jack Ganssle's home page offers a PDF with many trig approximations.

http://www.ganssle.com/approx.htm I would also recommend his newsletter to any embedded engineer.

Rick Corey -----Original Message-----
From: KR [mailto:]
Sent: Saturday, October 23, 2004 9:04 PM
To:
Subject: [motoroladsp] square root algorithm for DSP56300

Hi,
Can someone recommend an accurate square root algorithm for a double
precision 48 bit fractional number between 0 and 1?

Best Regards,
Kevin
www.checkeffect.net
_____________________________________
Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you
want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:

To Post:

To Leave:

Archives: http://www.yahoogroups.com/group/motoroladsp

More Groups: http://www.dsprelated.com/groups.php3

Yahoo! Groups Links


Hi Kevin

Here are some sources mentioned in a talk given by Jack Ganssle at the
recent Embedded Systems Conference in Boston -

Math Toolkit for Real-Time Programming by Jack Crenshaw

"Higher Precisions": Dr. Dobbs September 1993

"Infinite Integers": Dr. Dobbs Jan. 1995

When you find a good one, how about sharing it and the source with the list?

Rick Corey

-----Original Message-----
From: KR [mailto:]
Sent: Saturday, October 23, 2004 9:04 PM
To:
Subject: [motoroladsp] square root algorithm for DSP56300

Hi,
Can someone recommend an accurate square root algorithm for a double
precision 48 bit fractional number between 0 and 1?

Best Regards,
Kevin
www.checkeffect.net
_____________________________________
Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you
want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:

To Post:

To Leave:

Archives: http://www.yahoogroups.com/group/motoroladsp

More Groups: http://www.dsprelated.com/groups.php3

Yahoo! Groups Links




Kevin,
Get an inter-library loan of

Computer approximations
By: John F Hart
Publisher: New York, Wiley [1968]
ISBN: 0471356301

It's out of print. You can buy it used if you can find it (Very
pricey).

It has tables coefficients for many types of approximations in
different
ranges of accuracy. I use it a few times a year.

I have used it for square roots and logs for the most part in RMS
routines.

Let me know if you have problems finding it. Via NG post I don't
always remember to check this email account. --- In , "KR" <kevin@r...> wrote:
>
> Hi,
> Can someone recommend an accurate square root algorithm for a
double
> precision 48 bit fractional number between 0 and 1?
>
> Best Regards,
> Kevin
> www.checkeffect.net