Skip to main content
tg.developer
Associate III
August 3, 2015
Question

STM32F103 asinf()... math functions

  • August 3, 2015
  • 1 reply
  • 789 views
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
This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
August 3, 2015
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 VenmoUp vote any posts that you find helpful, it shows what's working..