(In reply to Jan Engelhardt from comment #13) > Should using a cast to (double) work too? http://stackoverflow.com/a/503523 > Then I'd prefer that over volatile, I think. I don't think this will work. The variables and values are already double, the issue is only in the FPU keeping excess precision around.