
21 Feb
2007
21 Feb
'07
8:50 a.m.
On 2/21/07, David Abrahams <dave@boost-consulting.com> wrote:
"Chris Weed" <chrisweed@gmail.com> writes:
Hi, I am getting the wrong result for the exponential of complex numbers such as the following:
#include <boost/mpl/math/double.hpp> #include <boost/mpl/math/complex_number.hpp> #include <iostream>
int main() { typedef boost::mpl::math::string_c_to_double<'-',2,'.',0>::type minus_two;
I don't know anything about Boost.MPLMath, but I suspect that the 2 and the 0 need to be quoted also.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Hi, I tried that, and got the same result. Chris