I have a project that makes extensive use of floating point values, and it works, albeit SLOWLY, with no libraries linked in and headers as follows:
#include #include #include #include #include
I researched a bit and found lots of references to including libm.a. However, I'm not sure what to include it instead of. In the current project, if I simply add it to the linked libraries list, it compiles and loads properly, but all the floating point stuff apparently just stops working.
For this test, I had my logic analyzer set to record several pin transitions on the beginning and end of several code blocks. The idea was to test the speed of the floating point operations (using the include files above) and then to link in libm.a and repeat the test. Nothing else was changed, yet the second test didn't trigger at all, meaning that my floating point routines weren't getting executed at all.
Can anyone suggest where I might learn why this is happening?