Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8013

General • Re: Pico computations performance settings and tuning

$
0
0
...
Here is an extract of the code :
...
Is double_t like C double? Could you get away with float instead?
Without seeing to code it's hard to know where you can optimise it, but one suggestion might be to use fixed point calculation rather than floating point...
If you go that route, check out the CMSIS DSP Software Library. It can make working in 16-bit or 32-bit fixed point numbers easier. It has arm_atan2_q31, and Filtering Functions.

Statistics: Posted by carlk3 — Sat Feb 03, 2024 2:47 am



Viewing all articles
Browse latest Browse all 8013

Trending Articles