Home | Libraries | People | FAQ | More |
The following back-ends provide floating-point arithmetic:
Backend Type |
Header |
Radix |
Dependencies |
Pros |
Cons |
---|---|---|---|---|---|
|
boost/multiprecision/cpp_bin_float.hpp |
2 |
None |
Header only, all C++ implementation. Boost licence. |
|
|
boost/multiprecision/cpp_dec_float.hpp |
10 |
None |
Header only, all C++ implementation. Boost licence. |
|
|
boost/multiprecision/gmp.hpp |
2 |
Very fast and efficient back-end. |
Dependency on GNU licensed GMP library. |
|
|
boost/multiprecision/mpfr.hpp |
2 |
Very fast and efficient back-end, with its own standard library implementation. |
||
|
boost/multiprecision/float128.hpp |
2 |
Either libquadmath or the Intel C++ Math library. |
Very fast and efficient back-end for 128-bit floating-point values (113-bit mantissa, equivalent to FORTRAN's QUAD real) |
Depends on the compiler being either recent GCC or Intel C++ versions. |