Boost C++ Libraries Home Libraries People FAQ More

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 22.3. Linpack Benchmark

floating-point type

speed Mflops

double

2727

__float128

35

multiprecision::float128

35

multiprecision::cpp_bin_float_quad

6



PrevUpHomeNext