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. [EMAIL PROTECTED]:/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 | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]