How to use sqrt math in S32DS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use sqrt math in S32DS

497 Views
lengrudie
Contributor III

I use S32K144 ,IDE is S32DS V2.2.

error:undefined reference to 'sqrt'.

I have include math.h

How to use?

0 Kudos
2 Replies

491 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@lengrudie

I just did a sample test, it works fine on myside.

Senlent_0-1665466970096.png

 

0 Kudos

488 Views
lengrudie
Contributor III

I use example "lpuart_echo_s32k144" ,add sqrt is error.But I use example "lpspi_transfer_s32k144",add sqrt is ok.Why?

0 Kudos