From e0737c56c1e384e05064a0c6e1ac46979371041b Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Wed, 19 Dec 2018 22:58:32 +0100 Subject: New upstream version 2.0.0+repack --- .../math/doc/html/math_toolkit/next_float.html | 88 ++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 boost/libs/math/doc/html/math_toolkit/next_float.html (limited to 'boost/libs/math/doc/html/math_toolkit/next_float.html') diff --git a/boost/libs/math/doc/html/math_toolkit/next_float.html b/boost/libs/math/doc/html/math_toolkit/next_float.html new file mode 100644 index 00000000..d2a3bde9 --- /dev/null +++ b/boost/libs/math/doc/html/math_toolkit/next_float.html @@ -0,0 +1,88 @@ + + + +Floating-Point Representation Distance (ULP), and Finding Adjacent Floating-Point Values + + + + + + + + + + + + + + + +
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
+
+
+PrevUpHomeNext +
+
+ + +

+ Unit of Least + Precision or Unit in the Last Place is the gap between two different, + but as close as possible, floating-point numbers. +

+

+ Most decimal values, for example 0.1, cannot be exactly represented as floating-point + values, but will be stored as the closest + representable floating-point. +

+

+ Functions are provided for finding adjacent greater and lesser floating-point + values, and estimating the number of gaps between any two floating-point values. +

+

+ The floating-point type (FPT) must have has a fixed number of bits in the representation. + The number of bits may set at runtime, but must be the same for all numbers. + For example, NTL::quad_float + type (fixed 128-bit representation), NTL::RR + type (arbitrary but fixed decimal digits, default 150) or Boost.Multiprecision + cpp_dec_float + andcpp_bin_float + are fixed at runtime, but not a type that + extends the representation to provide an exact representation for any number, + for example XRC eXact Real in + C. +

+
+ + + +
+
+
+PrevUpHomeNext +
+ + -- cgit v1.2.3