Would you mind make some test the with this lib? I know you have your own but this seems good. It has also trig functions.
I’m facing strange problems using code:blocks
#include <fixmath.h>
Fix16 t a=5;
Fix16 t b=15;
Fix16 r;
r=a*b;
Compiler complain about undefined reference tofix16_mul’`
I can write trigonometry extensions for my library if need be. I’ve done it once before for SQ1x14 format and brads.
The reason they aren’t in the library by default is because FixedPoints is designed to be generic and the lookup tables have to be done specifically for the size of the fixed point.
Are you sure the compiler can see all the files in FixMath?
That sounds like it’s not compiling fix16.c for some reason.