Float and Double on K65

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

Float and Double on K65

829 次查看
goranigic
Contributor II

I am using K65 in life science project. My customer insist to use double.

The built in single precision FPU + DSP will help or not?

Also, what is the impact on the processing speed?

Thank you,

0 项奖励
回复
1 回复

726 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Goran,

As you know that the K65 with FPU module can only do single precision float operation with hardware, and the DSP instructions in the Cortex-M4 only support integer or fixed point(fractional data) operation. Both the FPU and DSP instruction do not help to operate the double float operation.

Fortunately, the C compilers support double float operation by software simulation, but it takes a long time.

Hope it can help you.

BR

Xiangjun rong

0 项奖励
回复