The docs for fast math literally say this
"This option is not turned on by any -O option besides -Ofast since it can result in incorrect output for programs that depend on an exact implementation of IEEE or ISO rules/specifications for math functions. It may, however, yield faster code for programs that do not require the guarantees of these specifications."
So what did you expect?
I was taught in my undergrad class not to use fast math if you ever wanted accuracy. I don't understand how you missed this?
Advocates of which are:
- corporate climbers
- CV driven development engineers
- those who don't know how to code - those who know they are bad at it
- technically curious non engineers
You're gonna get C&D imminently like that other site did.
I can't find the name of it, sorry.
I fully support what you're doing. I am not fussed with someone's back stories about how their great grandmother's auntie's friend had her hair dyed when walking her dog to pick cherries... Blah blah... Just want the recipe and method
In many situations it's much more an art than a science. Oftentimes you see "we multiplied independent variable X by independent variable Y and that is what we attribute this increase in Z to"...
But it's wrapped up in such complicated rhetoric that no one questions it (perhaps less cares...)
It's not though is it. It's a piece of paper to say for 2 years or so you worked as a researcher employed by the university, at least that's my experience in the UK.
Much better off just going in to industry. People praise PhDs too much. No one at work knows of mine. It's not on my CV either.
What is awful is when someone with a PhD in, say, biology uses this as leverage in a completely unrelated field (data science). Malicious ambiguity...
You're not an authority on something just because you have a PhD, certainly not an authority on everything. This is, damagingly, how many behave... You're barely scratching the surface at that level. It warrants a lifetime of work to get anywhere near the level of respect some put up on them. I guess that speaks volumes to the general level of insight into education by most..
So what did you expect?
I was taught in my undergrad class not to use fast math if you ever wanted accuracy. I don't understand how you missed this?