Home | Libraries | People | FAQ | More |
The following back-ends provide integer arithmetic:
Backend Type |
Header |
Radix |
Dependencies |
Pros |
Cons |
---|---|---|---|---|---|
|
boost/multiprecision/cpp_int.hpp |
2 |
None |
Very versatile, Boost licensed, all C++ integer type which support both arbitrary precision and fixed precision integer types. |
Slower than GMP, though typically not as slow as libtommath |
|
boost/multiprecision/gmp.hpp |
2 |
Very fast and efficient back-end. |
Dependency on GNU licensed GMP library. |
|
|
boost/multiprecision/tommath.hpp |
2 |
Public domain back-end with no licence restrictions. |
Slower than GMP. |