3 ms·
There are popular embedded platforms like STM32 that don't have hardware double support, but do have hardware float support. Using double will cause software do
by sdk77 2y ago
There are popular embedded platforms like STM32 that don't have hardware double support, but do have hardware float support. Using double will cause software double support to be linked and slow down your firmware significantly.
- AnimalMuppet 2y agoOK, but if you're writing for that kind of platform, you know it. Don't use double there? Sure. "Don't use double on non-embedded code just because such platforms exist" doesn't make sense to me. Sure, my code could maybe run on an embedded platform someday. But the person importing it probably has an editor that can do a search and replace...