Hacker News new | past | comments | ask | show | jobs | submit login

You probably know, but for the benefit of the others, at least some compilers support warning for that with -Wdouble-promotion.



After about the fourteenth time I accidentally blew my timing and size budgets with double-precision softfloat routines, I learned of -Werror=double-promotion.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: