- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone !!!
I created a project and code is not being compiled due to a floating point multiplication. The line that is causing a compilation error is
lux = (1 << Exponent) * 0.01;
Without floating point multiplication, code compiles successfully.
The compilation error generated is
undefined reference to `__aeabi_d2f'
What can be done to solve this issue?
Solved! Go to Solution.
- Tags:
- floating point
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please confirm which chip are you using?
The chips like CYW20719 which is CM4 will support float operations.
Thanks,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please have a look at How to enable floating point operations/FPU on the CM4 of the 20719
Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Anjana,
I'm interested in floating point calculations, however example that you pointed to shows how to print floating point numbers.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please confirm which chip are you using?
The chips like CYW20719 which is CM4 will support float operations.
Thanks,
Anjana