cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103 asinf()... math functions

tg.developer
Associate II
Posted on August 03, 2015 at 11:30

Hello,

I need to compute some values, for which I should use asinf() and sin() functions. I already

used math.h, but I am wondering if there exists some speed optimized library for this CPU,

which can be used?

#stm32f103
1 REPLY 1
Posted on August 03, 2015 at 15:42

The math libraries linked should be efficient and targeted to your CPU. The M3 doesn't have an FPU, so no opportunity to select/deselect that. Check your tool chain documentation for additional details, and configurations. You could Google for specialized math libraries/algorithms.

Review you algorithm for other opportunities to optimize or where/when to use different levels of precision.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..