Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 10 months ago.
How can I make use of the FPU?
I see that the LPC4088 has an on board FPU, how can I make sure my code is using this extra power?
Question relating to:
2 Answers
10 years, 10 months ago.
Hello,
if you are using online compiler, target LPC4088 has set FPU, you can check it on github,
https://github.com/mbedmicro/mbed/blob/master/workspace_tools/targets.py#L177
which then translates into cpu type - Cortex-M4.fp.
Regards,
0xc0170
10 years, 10 months ago.
Along the same theme, what considerations should be made to make sure its being used optimally? For example, the FPU only works on single precision floats, right? So I assume that means i must avoid using double precision floats because that would resort back to software computation.
Are there any other "rules" to keep in mind?
Thanks