search for: dosomethingvagu

Displaying 1 result from an estimated 1 matches for "dosomethingvagu".

Did you mean: dosomethingvague
2020 Jan 18
2
Combining fast math flags with constrained intrinsics
...allow fast math flags to be applied to constrained intrinsics. That makes this primarily a question about what combinations should be permitted by front ends and how constructs like pragmas should affect the various states. For example, I might have source code like this: -=-=-=-=-=-=-=-= double doSomethingVague(double X, double Y, double Z) { // Some operation that doesn't need to be precise. if (X/Y > SomeThreshold) return doSomethingPrecise(X, Y); else return Z; } #pragma STDC FENV_ACCESS ON double doSomethingPrecise(double X, double Y) { int SaveRM = fegetround(); fesetround(...