Page 1 of 1
BUG: SQRT from FLOAT on ARM
Posted: Wed Aug 14, 2013 5:23 pm
by Mantas
The same was in v5 and it's still not fixed, and now it's the same in v6, get a compilation error when you try to get a sqrt from floating point number:
Code: Select all
Test.c:94: warning: implicit declaration of function 'float32_sqrt'
BR,
Mantas
Re: BUG: SQRT from FLOAT on ARM
Posted: Wed Aug 14, 2013 6:35 pm
by JonnyW
Hi Mantas. Looks like the prototype hasn't been added, will mark this up on the todo list.
Jonny
Re: BUG: SQRT from FLOAT on ARM
Posted: Thu Aug 15, 2013 1:23 pm
by Benj
This has now been sorted and will be fixed in the next patch.
Re: BUG: SQRT from FLOAT on ARM
Posted: Sat Aug 17, 2013 7:50 am
by Mantas
Hi Benj,
How can I fix this in v5 myself?
Regards,
Mantas
Re: BUG: SQRT from FLOAT on ARM
Posted: Sat Aug 17, 2013 7:25 pm
by Benj
Hi Mantas,
Add this line to the defines section of supplementary code window, or if you want to fix permanently then append to the CAL/ARM/ARM_CAL_Float.c file.
#define float32_sqrt(A) sqrt(A)
Re: BUG: SQRT from FLOAT on ARM
Posted: Mon Aug 19, 2013 8:42 am
by Mantas
Thank you Benj!