Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
legalcorrection
on April 9, 2022
|
parent
|
context
|
favorite
| on:
rand() may call malloc()
You probably know, but for the benefit of the others, at least some compilers support warning for that with -Wdouble-promotion.
markrages
on April 9, 2022
[–]
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: