From: "Bob Platko" Newsgroups: comp.os.msdos.djgpp Subject: Re: Fixed Point (Optimization) Date: 4 Jan 1997 03:39:34 GMT Organization: Netcom Lines: 18 Message-ID: <01b9bb84$bc3275a0$e2c5b7c7@platko.ix.netcom.com> References: <32cd6b2c DOT 4726585 AT nntp DOT southeast DOT net> NNTP-Posting-Host: clv-oh14-02.ix.netcom.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Murray Stokely wrote in article <32cd6b2c DOT 4726585 AT nntp DOT southeast DOT net>... > Is Fixed-Point math still a neccesity for today's computers with > all their built it FPU's, etc? How much faster can it be? Anyway, > this is the same code procedure from our long thread on optimization; > I've recently come back to it, because I still see room for > improvement. What can be done to it. Fixed point? Lookup tables? > > void calculate_tfm(int diameter, char magnification)... Fixed Point math is still very essential for dramatic speed increasement even with today's FPU's. I never bench marked Fixed Point compared to floating point, so I don't know how much faster it will be; it depends on how often you use it. A lookup table will most likely increase your speed. BP