Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/19/04 01:15
Read: times


 
#67014 - RE: Lookup table
Responding to: ???'s previous message
I use Excel to generate my fixed point conversion factors too. I have a spreadsheet set up to implement the fractional equivalence equation where I can select a multiplier and divisor that will give me the factor that I'm looking for, to the accuracy I want...and keeping in mind the data types I'm using (int, unsigned int, long, etc.).

For instance, the cosine of 30 degrees is pretty close to 181/209; 989/1142 is closer, 1170/1351 is yet closer. I convert miles to kilometers by multiplying by 140 and dividing by 87.

See http://mathforum.org/dr.math/f...tions.html
for details on the fractional equivalence equation.

Dennis


List of 11 messages in thread
TopicAuthorDate
can\'t use sin(x) in math.h from µvision            01/01/70 00:00      
   RE: can\'t use sin(x) in math.h from µvision            01/01/70 00:00      
      RE: can\'t use sin(x) in math.h from µvision            01/01/70 00:00      
         RE: can\'t use sin(x) in math.h from µvision            01/01/70 00:00      
            Lookup table            01/01/70 00:00      
               RE: Lookup table            01/01/70 00:00      
         Taylor series            01/01/70 00:00      
   RE: can\'t use sin(x) in math.h from µvision            01/01/70 00:00      
      Very nice links!            01/01/70 00:00      
      RE: can\'t use sin(x) in math.h from µv            01/01/70 00:00      
         RE: can\'t use sin(x) in math.h from µv            01/01/70 00:00      

Back to Subject List