Boost logo

Boost Users :

From: Chris Weed (chrisweed_at_[hidden])
Date: 2007-02-21 10:50:37


On 2/21/07, David Abrahams <dave_at_[hidden]> wrote:
> "Chris Weed" <chrisweed_at_[hidden]> 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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net