How to use sqrt math in S32DS

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to use sqrt math in S32DS

537 次查看
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 项奖励
回复
2 回复数

531 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@lengrudie

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

Senlent_0-1665466970096.png

 

0 项奖励
回复

528 次查看
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 项奖励
回复