|
|
|
|
|
by phkahler
623 days ago
|
|
>> The firmware usually runs on processors without hardware floating point units. I'm working on control code one an ARM cortex-M4f. I wrote it all in fixed point because I don't trust an FPU to be faster, and I also like to have a 32bit accumulator instead of 24bit. I recently converted it all to floating point since we have the M4f part (f indicate FPU), and it's a little slower now. I did get to remove some limit checking since I can rely on the calculations being inside the limits but it's still a little slower than my fixed point implementation. |
|
32b float on your embedded device doesn't necessary match your 32b float running on your dev machine.