Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nwallin
on Oct 21, 2021
|
parent
|
context
|
favorite
| on:
Optimizations Enabled by -ffast-Math
No. Imagine you have this:
if (x < 7) doSomething(); else doSomethingElse();
With -ffast-math, the compiler is allowed to call
neither
doSomething() nor doSomethingElse() if x is nan. Which IMHO is not great.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: