Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Std: Clamp generates less efficient assembly than std:min(max,std:max(min,v)). Parent comment
Yes, and it could very well be that the correct answer is actually 0 and not 1.
Unless you write your code to explicitly account for fp associativity effects, in which case you don't need generic forum advice about fast-math.
There are no comments on this comment yet.
Yes, and it could very well be that the correct answer is actually 0 and not 1.
Unless you write your code to explicitly account for fp associativity effects, in which case you don't need generic forum advice about fast-math.