Ultimately these facilities should be provided by GCC and `libstdc++`.
-[endsect]
+[endsect] [/section:float128 Using with GCC's __float128 datatype]
+
[section:use_mpfr Using With MPFR or GMP - High-Precision Floating-Point Library]
std::cout << std::setprecision(50) << v << std::endl;
}
-For those functions that are based upon the __lanczos, the bindings
-defines a series of approximations with up to 61 terms and accuracy
-up to approximately 3e-113. This therefore sets the upper limit for accuracy
-to the majority of functions defined this library when used with either `mpfr_class` or `mpreal`.
-
There is a concept checking test program for mpfr support
[@../../../../libs/math/test/mpfr_concept_check.cpp here] and
[@../../../../libs/math/test/mpreal_concept_check.cpp here].
[@../../tools/lanczos_generator.cpp
libs/math/tools/lanczos_generator.cpp] to find a suitable
approximation for your RealType. The code will still compile if you don't do
-this, but both accuracy and efficiency will be greatly compromised in any
+this, but both accuracy and efficiency will be somewhat compromised in any
function that makes use of the gamma\/beta\/erf family of functions.
[endsect] [/section:real_concepts Conceptual Requirements for Real Number Types]
required by the [link math_toolkit.dist_concept Distribution concept].
These are checked by calls like
-v = pdf(dist, x); // (Result v is ignored).
+ v = pdf(dist, x); // (Result v is ignored).
And in addition, those that accept two arguments do the right thing when the
arguments are of different types (the result type is always the same as the