Your message dated Wed, 27 May 2009 01:33:17 -0500
with message-id <[email protected]>
and subject line not-a-bug
has caused the Debian Bug report #440178,
regarding interval problem
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
440178: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440178
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libboost-dev
Version: 1.34.1-2
Severity: normal

--- Please enter the report below this line. ---
Hello

I try to use the numeric/interval library from boost 1.34.1.
So I created a 

boost::numeric::interval<double> I(min, max);
I = tan(I);

but when I compile :

g++ -o debug/linux2/src/kappa4C_vertical_pseudoaxeengine.o -c -Wall -g
-O0 -Iinclude/hkl src/kappa4C_vertical_pseudoaxeengine.cpp 
/usr/include/boost/numeric/interval/transc.hpp:
In function 'boost::numeric::interval<T, Policies> boost::numeric::tan(const 
boost::numeric::interval<T, Policies>&) [with
T = double, Policies =
boost::numeric::interval_lib::policies<boost::numeric::interval_lib::rounded_math<double>,
boost::numeric::interval_lib::checking_strict<double> >]':
src/kappa4C_vertical_pseudoaxeengine.cpp:84:   instantiated from
here /usr/include/boost/numeric/interval/transc.hpp:110: error: 'struct
boost::numeric::interval_lib::rounded_math<double>' has no member named
'tan_down' /usr/include/boost/numeric/interval/transc.hpp:110: error:
'struct boost::numeric::interval_lib::rounded_math<double>' has no
member named 'tan_up'


So it seems that there is no member tan_down and tan_up in the
rounded_math class.
If you do a rgrep in boost/numeric you find only reference to those
tan_down and tan_up.

pi...@grisette:/usr/include/boost/numeric$ rgrep tan_down *
interval/transc.hpp:  return 
I(rnd.tan_down(tmp.lower()),rnd.tan_up(tmp.upper()), true);
interval/transc.hpp:  return I(rnd.atan_down(x.lower()), 
rnd.atan_up(x.upper()), true);

but no definition. so something is missing in the interval library.

Have a nice day.

Frederic

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.21-2-686

Debian Release: lenny/sid
  500 unstable        edevelop.org 
  500 testing         ftp.fr.debian.org 
  500 stable          wine.budgetdedicated.com 

--- Package information. ---
Depends            (Version) | Installed
============================-+-===========
libstdc++-dev                | 




--- End Message ---
--- Begin Message ---
Hi,

Upstream suggests this is working as documented [1], so I'm closing this bug.

        According to the documentation at
        
http://www.boost.org/doc/libs/1_35_0/libs/numeric/interval/doc/rounding.htm
        in the "transcendental function" section, the standard library
        routines for tan, etc, do not typically satisfy the needed
        rounding properties and therefore the templates which
        implement them are disabled by default.


-Steve

[1] https://svn.boost.org/trac/boost/ticket/1632#comment:3

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to