I use the following macro definition,I use the S32DS development environment:
#define UTILS_LP_FAST(value, sample, filter_constant) (value -= (filter_constant) * (value - (sample)))
I found that when the program executes this macro definition, the execution time is very long,Who can help me to answer the reason,Thank you!