This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

64-bit floating point

Hi,

I have a few questions about using floating point in nRF5 chips. As discussed here , nRF51 has no FPU but we can simply use "float" in Keil and have the operations in software.

1- Besides power and speed, what is the advantage of using FPU? In terms of accuracy is there any difference between a 32-bit float in FPU and in software?

2- How can we enable/disable FPU in nRF52? any example projects?

3- Is nRF52 capable of doing IEEE-754 64-bit operations? For our case, software or FPU doesn't matter, just going to 64-bit is important. If yes, how can I define a 64-bit float?

I'm using nRF52-DK, SDK11, SD132 in Keil.

Thanks, FA

Related