Re: Does Mathematical Calculations need Analysis
2019/06/23 19:32:44
(permalink)
As du00..1 says, you need to understand your problem and then determine the domain/range of the various values. Once you know that, you can typically perform the calculations using fixed-point integer maths.

As you mention this in the dsPICxxx forum, if you really need fast maths then use the DSP core - there are built-in functions that help with the assembler side of that. If you use Q1.15 format (or some other Q format variant of your choosing) then there are functions that help you there as well.

Susan