
21 Feb
2007
21 Feb
'07
6:05 a.m.
"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