Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit 579430ad1f.
PrevUpHomeNext

Cost of High-Precision Non-built-in Floating-point

Using user-defined floating-point like Boost.Multiprecision has a very high run-time cost.

To give some flavour of this:

Table 23.3. Linpack Benchmark

floating-point type

speed Mflops

double

2727

__float128

35

multiprecision::float128

35

multiprecision::cpp_bin_float_quad

6



PrevUpHomeNext