mpreal
mpreal copied to clipboard
This adds cmake support. This is useful to use mpreal as a submodule in another git project that uses cmake. The only targets are the interface (header-only) library mpreal and...
Simple program failed to compile with VS2019 (It should be the same with the other compilers). ```c++ void foo(mpreal &&); mpreal a,b; foo(a+b); // a+b has a type of const...
Starting from MPR 4.0, the functions `mpfr_set_float128` and `mpfr_get_float128` can be used to convert from and to `__f128` (see test cases here for usage: https://fossies.org/linux/misc/mpfr-4.1.0.tar.gz/mpfr-4.1.0/tests/tset_float128.c). It would be great if...
I am getting some random error when calling std::vector::insert in the case that reallocation is triggered. The memory check shows that the problem localizes inside the assignment operator inline mpreal&...
[This rudimentary code](https://green.physics.lsa.umich.edu/Nevanlinna_Schur.zip) uses mpreal.h and MPFR libraries for C++. When compiling with * gcc-11.2.0, and * mpfr 3.1.4, it works perfectly fine. But after updating my libraries to *...
The old semantics: MPREAL_HAVE_DYNAMIC_STD_NUMERIC_LIMITS: digits() is a function !MPREAL_HAVE_DYNAMIC_STD_NUMERIC_LIMITS: digits is a constant But in the latter case, the constant value of digits is hardwired into mpreal.h. The new semantics:...