Path: chuka.playstation.co.uk!news From: richard.cutting@virgin.net (Richard Cutting) Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Fixed Point Square Root Function Date: Thu, 29 Oct 1998 01:18:48 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 33 Message-ID: <3637c136.971597@news.playstation.co.uk> References: <3634f7bb.491502@news.playstation.co.uk> <712urq$5iq10@chuka.playstation.co.uk> NNTP-Posting-Host: p45-osterich-gui.tch.virgin.net X-Newsreader: Forte Free Agent 1.11/32.235 On Mon, 26 Oct 1998 22:52:40 -0000, "Nick Slaven" wrote: > >Richard Cutting wrote in message <3634f7bb.491502@news.playstation.co.uk>... >>Does anyone have a function kicking around that provides an >>implementation of sqrt but for fixed point > >My fixed point trig library (plug plug) has an integer square root >http://www.netyaroze-europe.com/~nslaven/ > >Alternatively try >http://www.best.com/~mxmora/umpg/UMPG_II_Math&Algorithms.html > >cheers > >Nick S > Cheers Nick, I've grabbed your library, although now I've managed to convert all my horrid maths into 6 IF statements....it's not as accurate but it's bloody fast ! On a side note, would anyone be prepared to write a basic maths tutorial ? I would find this very useful as I haven't used any of my maths for years and I've forgotten most of it. At the moment I would certainly find a reminder of basic geometry useful. I'm going out to buy a book at the weekend..... Richard. http://ww.netyaroze-europe.com/~rcutting