python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
gmp/mpir/mpfr: unresolved external symbol __gmp_bits_per_limb
I built in VS2019 the MPIR and MPFR libs from the provided .sln in the source.
Basic samples are built and run fine. However, the following:
cout << __gmp_bits_per_limb << endl;
cout <&...
Zohar Levi
Votes: 0
Answers: 1
GNU MP low precision while using mpf_pow function
While writing this answer, I used the mpf_pow function to calculate 12.3 ^ 123, and the result is different from the one given by WolframAlpha (which by the way also uses GMP).
I casted the code to pu...
Arc
Votes: 0
Answers: 2
Approximation using gmp mpf_class
I am writing a UnitTest using Catch2.
I want to check if two vectors are equal. They look like the following using gmplib:
std::vector<mpf_class> result
Due to me 'faking' the expected_result v...
Tom
Votes: 0
Answers: 1