$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [review][constrained_value] Review of Constrained Value Library begins today
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-12-09 11:26:55
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?
In Christ,
Steven Watanabe