[A83] Re: Pythagorean's theorem


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

[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



Follow-Ups: References: