Trigonometric library

15 Aug 2012

Hi, I'm looking for a library which implements the trigonometric function like sin,cos,etc. Is there any library for mbed? Or I will need to make my own functions.

Thanks

15 Aug 2012

Hi Catalin,

If you're using the mbed libraries in your program then you should have sin and cos available to you already. If you're not using the mbed libraries you can do

#include <math.h>

Steve

15 Aug 2012

Edit: Sneaky mbed people posting before me :(

15 Aug 2012

Yes, I use mbed.h. I did't know that there are implemented. Thanks