Hi,
Are there any libraries for doing simple math functions in C like sin(x), cos(x) on the Beaglebone's AM335X processor ?
I found this http://www.ti.com/tool/MATHLIB library. But they seem to be only for C6XXX processors.
Thanks !
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
Are there any libraries for doing simple math functions in C like sin(x), cos(x) on the Beaglebone's AM335X processor ?
I found this http://www.ti.com/tool/MATHLIB library. But they seem to be only for C6XXX processors.
Thanks !
I am looking at the math.h file in the following directory and do not see any implementation of sin(), etc:
/ti-sdk-am335x-evm-06.00.00.00/linux-devkit/sysroots/armv7ahf-vfp-neon-3.2-oe-linux-gnueabi/usr/include
Could you be more specific as where these trig functions are located?
Thanks,
Paul
I solved my issue by using <tgmath.h> and then using the -lm linker command line argument. I believe this instructions the linker to use legacy libs (someone correct me if I am wrong).
-Paul