Go to Post IF teams did NOT READ THE FIRST MANUAL AND Q&A SITE, it is not FIRST's fault, it is the TEAM'S fault - sburro [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2008, 00:15
comphappy comphappy is offline
Registered User
AKA: Brennan Ashton
FRC #2605 (A2D_16)
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Bellingham, WA
Posts: 157
comphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to behold
Send a message via AIM to comphappy
Re: paper: CORDIC Trigonometric Math Library

EDIT: Ignore this post, I can not delete it
__________________
A2D Solving the Imaginary Error Function...

Last edited by comphappy : 09-02-2008 at 00:50. Reason: Issue turned out to be non related
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2008, 00:54
neutrino15's Avatar
neutrino15 neutrino15 is offline
plɹoʍ ollǝɥ
AKA: Jordan Perr
FRC #0694 (Stuypulse)
 
Join Date: Feb 2007
Rookie Year: 2007
Location: New York City
Posts: 162
neutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really nice
Re: paper: CORDIC Trigonometric Math Library

What is the advantage to using this vs a lookup table to the desired degree of accuracy?

How much more accurate and slow is the built in <math.h>?
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2008, 01:11
Uberbots's Avatar
Uberbots Uberbots is offline
Mad Programmer
AKA: Billy Sisson
FRC #1124 (ÜberBots)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Avon
Posts: 739
Uberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond repute
Re: paper: CORDIC Trigonometric Math Library

Quote:
Originally Posted by neutrino15 View Post
What is the advantage to using this vs a lookup table to the desired degree of accuracy?

How much more accurate and slow is the built in <math.h>?
Well, the math.h implementation can be called ~100 times per second (speed test that was posted on CD at some point this month), and this function takes a half second for 4500 calls (a half second being the max time a loop can execute before the OI says it 'crashed')

so id say its about... 90x faster?

someone call me on this if my math is wrong.
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY
Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2008, 01:36
comphappy comphappy is offline
Registered User
AKA: Brennan Ashton
FRC #2605 (A2D_16)
Team Role: Leadership
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Bellingham, WA
Posts: 157
comphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to beholdcomphappy is a splendid one to behold
Send a message via AIM to comphappy
Re: paper: CORDIC Trigonometric Math Library

Ok i just found out what is needed to get this code to compile with the new 3.02 or higher compiler,
you need to replace all instances of AARGB3 with the new definition of __AARGB3
you can see the reference to this naming change here:
http://ww1.microchip.com/downloads/e...03-README.html
ref (27624)
__________________
A2D Solving the Imaginary Error Function...

Last edited by comphappy : 09-02-2008 at 02:30.
Reply With Quote
Reply


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
Programming Trigonometric Functions Dan894 Programming 4 14-02-2006 20:27
Cordic functions... Zalumaskov Programming 1 13-02-2005 00:58
Trigonometric related equations nb45ti Math and Science 4 20-07-2004 18:53
White Paper Discuss: 296's CORDIC Math Library CD47-Bot Extra Discussion 5 28-04-2004 20:01
math.h library mightywombat Programming 24 17-01-2004 13:10


All times are GMT -5. The time now is 01:10.

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