5 ms·
Add -Wdouble-promotion to the list. For microcontrollers which implement float in hardware and double in software, it can be a lifesaver.
by brandmeyer 10y ago
Add -Wdouble-promotion to the list. For microcontrollers which implement float in hardware and double in software, it can be a lifesaver.
- revelation 10y agoThat's a great hint, I was almost at the point of writing a short script that checks the binary output for any soft FP operations.
- fest 10y agoYes, that's a very good idea, especially if code uses lot of floating point operations.