Make a cosine table with the gcc preprocessor
c, c-preprocessor, gcc, playstation3
Solution
Why not hardcode it? I am not aware of any changes in the result of the cosine function that they are planning, well not for another 100 years or so.
Problem
I wish to make a cosine table at compile time. Is there a way to do this without hard coding anything?