Re: [Boost-bugs] [Boost C++ Libraries] #5498: Issues with the Interval Library

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5498: Issues with the Interval Library
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-28 05:00:12


#5498: Issues with the Interval Library
--------------------------------+-------------------------------------------
  Reporter: dduffy@… | Owner: bgubenko
      Type: Bugs | Status: new
 Milestone: Boost 1.46.0 | Component: interval
   Version: Boost 1.46.0 | Severity: Showstopper
Resolution: | Keywords: Interval
--------------------------------+-------------------------------------------

Comment (by anonymous):

 class DDPolicy : public rounded_math<double>
 {
 public:

      double exp_up(double x) { return ::exp(x);}
      double exp_down(double x) { return ::exp(x);}

      // etc.

 };

      // Transcendental functions
      boost::numeric::interval<double, policies<DDPolicy,
 checking_strict<double> > > rA;
      boost::numeric::interval<double, policies<DDPolicy,
 checking_strict<double> > > rB;

      rB = exp(rA);

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5498#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC