4 ms·
I had to do bignum calculations in a C++ Windows environment a while ago and was surprised how few prepared solutions there are out there. In the end I settled
by arketyp 5y ago
I had to do bignum calculations in a C++ Windows environment a while ago and was surprised how few prepared solutions there are out there. In the end I settled for the MPIR library, a GMP fork. Had to compile the binaries, but the documentation was friendly enough. https://mpir.org/ https://mpir.org/
- lifthrasiir 5y agoJust to be clear, GMP also supports C++ interface and even C++11 custom literals (`123_mpz` etc.). Unfortunately many Windows builds of GMP seem to omit libgmpxx-*.dll required for the C++ interface.
- arketyp 5y agoI chose MPIR for the Windows build options which seemed like less of a hassle. In the end I didn't use the C++ wrapper stuff.