Tool/software: TI C/C++ Compiler
Hello,
Lately, I am calculating Discrete Fourier Transform of a measured signal in which several elementary functions are used such as trigonometric functions.
As the sample size increases, the accuracy becomes more sensitive to round-off and trigonometric fcn errors, especially if some inexpensive DFT methods are used in case low number of DFT bins are needed.
I just want to verify the accuracy of elementary math functions such as trigonometric functions.
I checked the .c files of those mathematical functions in C2000 compiler library folder and I saw that they were taken from a book written 40 years ago. Perhaps, they are not the best methods available now.
Do you have any data on accuracy of those functions?
Thanks.