F
Fredy Halter
the following code is not working:
std::complex<long double> x(1.,1.);
std::complex<long double> result(0.,0.);
result = 1./x;
std::cout << "x = " << x << std::endl;
std::cout << "r = " << result << std::endl;
with std::complex<double> it works. anyone knows how to get rid of this?
i need long double for my calculations. thx.
std::complex<long double> x(1.,1.);
std::complex<long double> result(0.,0.);
result = 1./x;
std::cout << "x = " << x << std::endl;
std::cout << "r = " << result << std::endl;
with std::complex<double> it works. anyone knows how to get rid of this?
i need long double for my calculations. thx.