Path: chuka.playstation.co.uk!news From: "John \( QuietBloke \)" Newsgroups: scee.yaroze.freetalk.english Subject: Re: Daft Question [long] Date: Mon, 27 Aug 2001 18:53:32 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 24 Message-ID: <9me1g1$1sb13@www.netyaroze-europe.com> References: <9loc6a$p3k2@www.netyaroze-europe.com> <9loeu8$p3k3@www.netyaroze-europe.com> <01c1297e$8cb6e8a0$LocalHost@pal-s-omnibook> <9lrqqf$3j63@www.netyaroze-europe.com> <01c129ca$a5a6f700$d81fe4d5@pal-s-omnibook> <9m1d9c$b2i7@www.netyaroze-europe.com> <01c12ceb$fba64880$9709e4d5@pal-s-omnibook> <9m9c88$ioj5@www.netyaroze-europe.com> <01c12edc$cc2bf440$991fe4d5@pal-s-omnibook> NNTP-Posting-Host: host213-1-166-183.btinternet.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 aye.. To be honest I have absolutely no idea how fast an integer divide is. Im just kinda assuming it cant be any slower then the several if's and shifts' etc of the other solution. Anyway.. I shall keep you informed.. and thanx for the initial code.. was a real time saver. Cheere John ( Quietbloke ) "pal" wrote in message news:01c12edc$cc2bf440$991fe4d5@pal-s-omnibook... > I agree that this new method is far more elegant than the shift's one, but > are you sure it'll be quick enough? It uses three divide's, which I believe > will take a lot of time, won't they? > > Anyway, please let us know the results and your final implementation, as > this angle problem is a recurrent one... > > > pal >