Quote:
There is a big int library I want to download GitHub - sercantutar/infint: Arbitrary-Precision Integer Arithmetic
Beware, there is a catch.
If you just want to be able to handle a few BigInts, very nice.
If you want to do intensive BigInts calculations, very bad.
The library is only high level C++, which is very nice, it should work about anywhere, but it is not efficient.
In matter of MP (Multi Precision), the necessary tools are processor specific (internal flags like the carry), which means that code for x64 works only on the family of processors, and you need other code for ARM ...
I wouldn't be surprised if this library is 10 times slower, on simple operations like addition, than the optimized libraries like The GNU MP Bignum Library. On more complex operation, it is worse.
Arbitrary-precision arithmetic - Wikipedia[
^]
This library look more complicated to start with, but is much more efficient :
The GNU MP Bignum Library[
^]