c - Floating point library for embedded application -


I am developing a program for Cortex-M3. There is no floating point coprocessor in it. The standard C library can simulate floating point operations, but I do not use it because of its size.

Is there a good and free Library, which can simulate floating point arithmetics targeted at the ARM processor? Currently, when I use floating point operators, I have such linking errors: reference to '__subdf3' essentially in reference to `<__divdf3 ', the undefined reference:

  In the context of the undefined reference `__divdf3 ', the undefined reference in reference to the undefined reference' __extendsfdf2 'should probably apply to such a library. 

P> Would not you be better to use Fixed Point (Display and size wise)? For simple arithmetic, it is trivial to implement directly or with a function interface. If you can be uncomfortable to use C ++ using operator overloading, then you can use almost almost uninterrupted (no runtime overhead compared to the C function interface).

If you have more complex requirements (triggers, roots, etc.), then a good fixed point library is presented.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -