Efficient C for ARM

Floating Point

Floating Point is usually emulated on ARM systems.

  • Slow.
    • 50-300× slower than equivalent integer ops.
    • Depending on library, environment.

Possible solution:

Remarks

Is this the most fundamental thing?

Floating point is therefore slow and should be avoided unless you’re dealing with one special case. This applies even to Java.

http://en.wikibooks.org/wiki/Embedded_Systems/Embedded_System_Basics/Fixed-Point_Arithmetic (external link)

Navigate