We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
making a complex number, then increasing its precision, produces (nan,nan). test below.
(nan,nan)
// doesn't fail BOOST_AUTO_TEST_CASE(real_precision_increase) { DefaultPrecision(50); mpfr_float a(2); a.precision(100); std::cout << a << '\n'; // just 2 BOOST_CHECK(abs(mpfr_float(2)-a) < 1e-50); } //fails BOOST_AUTO_TEST_CASE(complex_precision_increase) { DefaultPrecision(50); mpfr_complex a(2,3); a.precision(100); std::cout << a << '\n'; // (nan,nan) for me... BOOST_CHECK(abs(mpfr_complex(2,3)-a) < 1e-50); }
The text was updated successfully, but these errors were encountered:
Correct change of precision in existing mpc_complex.
eed306e
Correct expected test result on assignment to variable of differing precision. See #65.
Confirmed, should be fixed in develop.
Sorry, something went wrong.
CI passing, closing.
No branches or pull requests
making a complex number, then increasing its precision, produces
(nan,nan)
. test below.The text was updated successfully, but these errors were encountered: