Fixed Point Conversion
I have a C program that uses floating point arithmetic. Now, I need to convert that into 16-bit fixed point code. Does anyone know how to do it? I tried to google for hints about the solution. But, all the suggestions that I found involved assembly language programming, which I dont know. So, can I do it in C alone? If so, what are the steps to convert the code?
Thanks in advance for any suggestions.
I thought I remembered an article or two that discussed this.
(Those may not be what I thought I was remembering, it was just a quick Google.)