Hai
I'm working in telosbWhen i am using math.h in my application,i
got error like Undefined reference to pow ..How to fix this problem.Plz
explain it in detail.
Manjunath Doddavenkatappa wrote:
Hi,
Can you please try sqrtf() ?
Manjunath D
Look carefully in math.h, there may be an #ifdef around the double
math functions. I thought that the telosb used doubles rather than
floats (the ATMEGA uses float math) but it sounds like I'm wrong...
MS
ys...@lifc.univ-fcomte.fr wrote:
Hi Manjunath,
Yes it compiled, thanks a lot. And I'll
Hello,
I'm working with telosb mote, and I need to use sqrt function in my
program, but I can't compile it.
===
mkdir -p build/telosb
compiling TestMulAppC to a telosb binary
ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
Hi,
Can you please try sqrtf() ?
Manjunath D
***
On Wed, 16 Nov 2011,
Hi Manjunath,
Yes it compiled, thanks a lot. And I'll check if the result is correct.
Still don't know why sqrt function is declared in math.h but unusable.
Maybe it's declared but not implemented. Anyway I really appreciate your
help.
Best regards.
Hi,
Can you please try sqrtf() ?