<title>Floating-point Comparison</title>
<link rel="stylesheet" href="../math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
-<link rel="home" href="../index.html" title="Math Toolkit 2.10.0">
+<link rel="home" href="../index.html" title="Math Toolkit 2.11.0">
<link rel="up" href="../utils.html" title="Chapter 2. Floating Point Utilities">
<link rel="prev" href="next_float/ulp.html" title="Obtaining the Size of a Unit In the Last Place - ULP">
<link rel="next" href="cond.html" title="Condition Numbers">
Floating-Point_Comparison guide</a>
</li>
<li class="listitem">
- <a href="../../../../../libs/test/doc/html/boost_test/users_guide/testing_tools/testing_floating_points.html" target="_top">Boost.Test
+ <a href="https://www.boost.org/doc/libs/release/libs/test/doc/html/boost_test/testing_tools/extended_comparison/floating_point.html" target="_top">Boost.Test
Floating-Point_Comparison</a>
</li>
</ul></div>
returns the relative distance/error <span class="emphasis"><em>E</em></span> between two values
as defined by:
</p>
-<pre class="programlisting">E = fabs((a - b) / min(a,b))</pre>
+<div class="blockquote"><blockquote class="blockquote"><p>
+ <span class="serif_italic">E = fabs((a - b) / min(a,b))</span>
+ </p></blockquote></div>
<p>
The function <code class="computeroutput"><span class="identifier">epsilon_difference</span></code>
is a convenience function that returns <code class="computeroutput"><span class="identifier">relative_difference</span><span class="special">(</span><span class="identifier">a</span><span class="special">,</span>