Boost logo

Boost Users :

From: Andy (borucki.andrzej_at_[hidden])
Date: 2019-11-05 07:47:12


cpp_int is more convenient but mpz_int is faster especially for long
numbers? What say benchmarks? For mpz_int I must install GMP on Linux or
build MPIR on WIndows (build lib_mpir_core2) ?
I want make sample benchmark test but I can't convert cpp_it to mpz_int nor
iport bits, whereas for cpp_int I can import_bits(x, xBytes.begin(),
xBytes.end()) where vector<uint8_t> xBytes;
Question: is possible import byte array to mpz_int?



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net