Float and Double on K65

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

Float and Double on K65

407 Views
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 Kudos
1 Reply

304 Views
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 Kudos