[EMAIL PROTECTED] wrote:
> En r?ponse ? Jason McCarty <[EMAIL PROTECTED]>:
> Since you are new to this mailing-list, you don't know all the discussions there
> was about input/output and the library (mean/width, relative error, limited
> number of digits, point representa
f (c == ',')
is >> u >> c;
if (c != ']')
is.setstate(is.failbit);
} else {
is.putback(c);
is >> l;
u = l;
}
if (is)
r.assign(l, u);
return is;
}
This implementation also allows reading a scalar of type T, and creating
a point
[EMAIL PROTECTED] wrote:
> En réponse à Jason McCarty <[EMAIL PROTECTED]>:
>
> > Hi,
> >
> > I came across a likely bug in boost::numeric::tan(interval) today.
> > Calling tan on an interval with a save_state rounding policy fails to
> > compile on line
e unprotected version.
I've attached a test case, and the output produced by g++-3.3.
Jason McCarty
#include
int main ()
{
using namespace boost::numeric::interval_lib;
tan(boost::numeric::interval >, checking_strict > > (2.0));
return 0;
}
/usr/include/boost/numeric/interval/t