Re: [Boost-bugs] [Boost C++ Libraries] #4011: Strange bug may be associated with rounded_transc_opp policy

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4011: Strange bug may be associated with rounded_transc_opp policy
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-03-15 22:41:43


#4011: Strange bug may be associated with rounded_transc_opp policy
------------------------------------------------------+---------------------
 Reporter: Vitor Vieira Lopes <vitor.lopes@…> | Owner: bgubenko
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: interval
  Version: Boost 1.38.0 | Severity: Problem
 Keywords: |
------------------------------------------------------+---------------------

Comment(by Vitor Vieira Lopes <vitor.lopes@…>):

 Replying to [comment:1 steven_watanabe]:
> According to the documentation:
>
> The classes rounded_transc_exact, rounded_transc_std and
 rounded_transc_opp expect the std namespace to provide the functions exp
 log cos tan acos asin atan cosh sinh tanh acosh asinh atanh. For the _std
 and _opp versions, all these functions should respect the current rounding
 mode fixed by a call to downward or upward.
>
> Please note: Unfortunately, the latter is rarely the case....

 But how this can account for the apparently inconsistent behavior? Note
 that for some values I do not have any problem when I use the _opp version
 while others are problematic. In the examples, the value 0.0011 works well
 but 0.001 does not. It seems to me that this should not present any type
 of numerical issue due to the values involved.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4011#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:02 UTC