??? 03/18/04 23:56 Read: times |
#67010 - RE: can\'t use sin(x) in math.h from µvision Responding to: ???'s previous message |
You will find that Excel makes a good tool for experimenting with things like this.
You can have it calculate the results for you, so you can see the accuracy you get with a varied number of terms. You can also modify it so you can see the difference between floating point and fixed point integer. (I have never had to resort to using floating point, which is a code hog, always managing to be able to do what I need with integer arithmetic.) You will get your best performance with a lookup table, if you have the code space for it. Dennis |
Topic | Author | Date |
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 |