[A83] Re: Pythagorean's theorem


[Prev][Next][Index][Thread]

[A83] Re: Pythagorean's theorem



Yes, a distance formula.

a^2 + b^2 = c^2

I have a and b, and I want c.  I guess I'll do a web search for "Friden
Algorithm".

MWM


----- Original Message -----
From: Patai Gergely <patai_gergely@fastmail.fm>
To: Assembly-83 list <assembly-83@lists.ticalc.org>
Sent: Saturday, August 09, 2003 2:41 PM
Subject: [A83] Re: Pythagorean's theorem


> > Does anyone know of a good routine for Pythagorean's theorem?  I wrote a
> > quick and dirty one that relied on a 1000 byte lookup table, but it has
> > proven to not be accurate enough.  I suppose that I could do a much
> > better job myself, but I would prefer not to reinvent the wheel if I do
> > not have to.
> >
> What exactly do you want? A distance formula? The tricky part is taking
> the square root fast. You could have a look at the Friden algorithm.
>
> --
> http://www.fastmail.fm - Faster than the air-speed velocity of an
>                           unladen european swallow
>
>
>




References: