Page 1 of 1

eSDK: math.h

PostPosted: Fri Jun 09, 2017 6:19 am
by gordon
Is there any extra commands to be included in the build file apart from -lm to access the math.h library. Because when I compute cos of an angle and then equate the negative value of it to a float variable it gives me 0.000000. Or should be assigning the value in any other way?

Re: eSDK: math.h

PostPosted: Tue Jun 20, 2017 4:35 pm
by olajep
gordon wrote:Is there any extra commands to be included in the build file apart from -lm to access the math.h library. Because when I compute cos of an angle and then equate the negative value of it to a float variable it gives me 0.000000. Or should be assigning the value in any other way?

Some example code would be helpful

// Ola