
2 Sep
2005
2 Sep
'05
6:51 p.m.
Hi, I'm curious if it is possible to make boost.interval more convenient to use for tracking floating point rounding errors. Currently, you run into problems if you do naive things like boost::numeric::interval<double> x(0.1); since the 0.1 value gets rounded once by the compiler before the interval constructor ever sees it. Also, things like boost::numeric::interval<double> y(2), z; z = 0.1 * y; have similar problems. -- Frank