cancel
Showing results for 
Search instead for 
Did you mean: 

Double Float execution time STM32F303

gbigden
Associate III
Posted on June 05, 2014 at 17:15

Single precision float on units that have an FPU is apparently one cycle.

How much of an overhead are doubles?
1 REPLY 1
Posted on June 05, 2014 at 18:21

Single precision float on units that have an FPU is apparently one cycle. How much of an overhead are doubles?

Simple math perhaps, the divide isn't single cycle.

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0439b/BEHJADED.html

Would depend on the operation, and the vendor of the software library being used. Benchmark your computation. Multiply with reciprocals rather than divide where you can.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..