Go to Post Don't like the predictions? Go out there and prove me wrong! - Looking Forward [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 16-02-2007, 11:13
gnirts gnirts is offline
Suspicious pointer conversion
AKA: Robinson Levin
FRC #1648 (The Gearbox Gangstaz)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: ATL
Posts: 116
gnirts will become famous soon enough
Re: Trig Lookup Table

You can use a similar method to what Kevin uses, but replace the data with the appropriate trig function. If you know your trig identities you might be able to use his functions to get the data you need.

However, depeding on how many calculations you are doing, you should be fine with a call to arccos() from <math.h>. Consider posting the code.

BTW, I don't think squaring is nearly as processor intensive as the other functions.

See also:
http://en.wikipedia.org/wiki/CORDIC
http://en.wikipedia.org/wiki/Generat...ometric_tables
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lookup Table Generator GUI teh_r4v3 Programming 6 15-02-2006 22:22
A VERY nice perl script for generating lookup tables. Validius Programming 11 31-03-2005 10:15
Large Lookup Tables Mr. Lim Programming 5 16-02-2004 21:30
Lookup table generation tool WillyC Programming 12 15-02-2004 21:01
Trig archiver 2001 4 23-06-2002 23:14


All times are GMT -5. The time now is 00:30.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi