Hi,
I am working on FFT .I am new to develop C code for fixed & floating point
to convert fixed to floating..left shift
to convert floattofixed...right shift
Could you please explain what is fixed and floating ?
Thanks In advance
prakash
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I am working on FFT .I am new to develop C code for fixed & floating point
to convert fixed to floating..left shift
to convert floattofixed...right shift
Could you please explain what is fixed and floating ?
Thanks In advance
prakash
Hi Prakash,
Thanks for your post.
To know more on fixed and floating point, please refer the below E2E post:
http://e2e.ti.com/support/embedded/tirtos/f/355/p/101884/357827#357827
To convert fixed point to floating point, you could use the casting operation in C code as well the assembly instructions as referred in the below post:
http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/115/t/109886
Also, to port floating point implementation to fixed point implementation, you could also check this post:
http://e2e.ti.com/support/dsp/tms320c6000_high_performance_dsps/f/112/t/384194
Hope, the above E2E posts would help you to understand better on fixed & floating point.
Thanks & regards,
Sivaraj K
-------------------------------------------------------------------------------------------------------
Please click the Verify Answer button on this post if it answers your question
-------------------------------------------------------------------------------------------------------
You might find the IQMath library useful for working with fixed point.