Tool/software: Code Composer Studio
Hello,
I have tried to copy some floating-point data to a fixed-point array (like q15 or iq31 type array) and vice versa. I used memcpy function for that and they work fine. But I am interested in the math of the conversion.
For example:
Float Fixed (iq31)
0.101607598 1037047717
1.40129846e-45 (DEN) 1.0
0.00472378731 1000000000
From the above conversion result, I did not find any pattern that describes the math. Besides, what does the (DEN) mean?