
9 Dec
2008
9 Dec
'08
4:37 p.m.
On Tue, Dec 9, 2008 at 5:26 PM, Steven Watanabe <watanabesj@gmail.com> wrote:
AMDG
Giovanni Piero Deretta wrote:
I think that something along the lines of the following will likely work:
inline double exact(double x) { struct { volatile double x; } xx = { x }; return xx.x; }
Please no. Not only it might prevent other optimizations, but is also completely thread unsafe.
How so?
Ignore me. Somehow I parsed that struct as 'static'. Sorry for the noise. -- gpd