AnsweredAssumed Answered

SQRT in stm32f4 ?

Question asked by waytae on Jun 3, 2013
Latest reply on Jun 3, 2013 by Clive One

I want to use sqrt (square root) function to calculate sqrt (x^2 + y^2)
but i haven't math.h in my root this is the error

undefined reference to `sqrt'
collect2: ld returned 1 exit status

how can i fix it please or are there an approximation of this function.

Thanks :)