|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r85524 - in sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html: . boost_multiprecision boost_multiprecision/ref boost_multiprecision/tut boost_multiprecision/tut/floats/fp_eg boost_multiprecision/tut/limits
From: pbristow_at_[hidden]
Date: 2013-08-30 05:00:30
Author: pbristow
Date: 2013-08-30 05:00:30 EDT (Fri, 30 Aug 2013)
New Revision: 85524
URL: http://svn.boost.org/trac/boost/changeset/85524
Log:
html of draft docs
Text files modified:
sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/ref/backendconc.html | 228 ++++++++++++++--------------
sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/ref/number.html | 2
sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut.html | 18 +
sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/floats/fp_eg/aos.html | 4
sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/floats/fp_eg/jel.html | 2
sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/floats/fp_eg/nd.html | 19 +-
sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/limits.html | 18 +
sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/limits/implementation.html | 18 +
sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/limits/limits32.html | 325 ++++++++++++++-------------------------
sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/limits/version_32.html | 12
sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/index.html | 4
11 files changed, 296 insertions(+), 354 deletions(-)
Modified: sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/ref/backendconc.html
==============================================================================
--- sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/ref/backendconc.html Fri Aug 30 04:59:59 2013 (r85523)
+++ sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/ref/backendconc.html 2013-08-30 05:00:30 EDT (Fri, 30 Aug 2013) (r85524)
@@ -109,7 +109,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -133,7 +133,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -157,7 +157,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -180,7 +180,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -199,7 +199,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -218,7 +218,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -241,7 +241,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -266,7 +266,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -340,7 +340,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -362,7 +362,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -421,7 +421,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -444,7 +444,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -468,7 +468,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -492,7 +492,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -569,7 +569,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -594,7 +594,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -619,7 +619,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -644,7 +644,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -669,7 +669,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -694,7 +694,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -723,7 +723,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -751,7 +751,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -777,7 +777,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -832,7 +832,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -858,7 +858,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -884,7 +884,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -910,7 +910,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -937,7 +937,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1059,7 +1059,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1084,7 +1084,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1108,7 +1108,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1133,7 +1133,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1158,7 +1158,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1221,7 +1221,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1248,7 +1248,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1299,7 +1299,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1325,7 +1325,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1376,7 +1376,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1402,7 +1402,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1429,7 +1429,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1457,7 +1457,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1493,7 +1493,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1520,7 +1520,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1547,7 +1547,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1576,7 +1576,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1604,7 +1604,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1632,7 +1632,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1662,7 +1662,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1692,7 +1692,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1720,7 +1720,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1748,7 +1748,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1778,7 +1778,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1808,7 +1808,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1834,7 +1834,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1863,7 +1863,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1891,7 +1891,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1918,7 +1918,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1947,7 +1947,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -1975,7 +1975,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2006,7 +2006,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2037,7 +2037,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2186,7 +2186,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2213,7 +2213,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2371,7 +2371,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2398,7 +2398,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2427,7 +2427,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2456,7 +2456,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2484,7 +2484,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2511,7 +2511,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2540,7 +2540,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2569,7 +2569,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2597,7 +2597,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2624,7 +2624,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2653,7 +2653,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2682,7 +2682,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2709,7 +2709,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2736,7 +2736,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2818,7 +2818,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2843,7 +2843,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2870,7 +2870,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2897,7 +2897,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2923,7 +2923,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2950,7 +2950,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -2979,7 +2979,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3008,7 +3008,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3039,7 +3039,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3070,7 +3070,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3101,7 +3101,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3132,7 +3132,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3159,7 +3159,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3188,7 +3188,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3217,7 +3217,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3246,7 +3246,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3272,7 +3272,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3311,7 +3311,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3340,7 +3340,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3375,7 +3375,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3403,7 +3403,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3431,7 +3431,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3459,7 +3459,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3487,7 +3487,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3515,7 +3515,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3543,7 +3543,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3571,7 +3571,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3599,7 +3599,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3627,7 +3627,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3655,7 +3655,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3683,7 +3683,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3711,7 +3711,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3739,7 +3739,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3767,7 +3767,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3797,7 +3797,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3827,7 +3827,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
@@ -3857,7 +3857,7 @@
</td>
<td>
<p>
- [space]
+  
</p>
</td>
</tr>
Modified: sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/ref/number.html
==============================================================================
--- sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/ref/number.html Fri Aug 30 04:59:59 2013 (r85523)
+++ sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/ref/number.html 2013-08-30 05:00:30 EDT (Fri, 30 Aug 2013) (r85524)
@@ -676,7 +676,7 @@
When these functions use our own implementations, the accuracy of the transcendental
functions is generally a few epsilon. Note however, that the trigonometrical
functions incur the usual accuracy loss when reducing arguments by large
- multiples of [pi]. Also note that both <a class="link" href="../tut/floats/gmp_float.html" title="gmp_float">gmp_float</a>
+ multiples of π. Also note that both <a class="link" href="../tut/floats/gmp_float.html" title="gmp_float">gmp_float</a>
and <a class="link" href="../tut/floats/cpp_dec_float.html" title="cpp_dec_float">cpp_dec_float</a>
have a number of guard digits beyond their stated precision, so the error
rates listed for these are in some sense artificially low.
Modified: sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut.html
==============================================================================
--- sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut.html Fri Aug 30 04:59:59 2013 (r85523)
+++ sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut.html 2013-08-30 05:00:30 EDT (Fri, 30 Aug 2013) (r85524)
@@ -97,16 +97,26 @@
<dt><span class="section">route_style</span></dt>
<dt><span class="section">has_denorm_loss</span></dt>
<dt><span class="section">denorm_style</span></dt>
+<dt><span class="section"><a href="tut/limits/implementation/constants/tinyness.html">Tinyness
+ before rounding</a></span></dt>
</dl></dd>
-<dt><span class="section"><a href="tut/limits/implementation/constants0.html">std::numeric_limits<>
+<dt><span class="section"><a href="tut/limits/implementation/functions.html">std::numeric_limits<>
functions</a></span></dt>
<dd><dl>
-<dt><span class="section"><a href="tut/limits/implementation/constants0/max.html">max
+<dt><span class="section"><a href="tut/limits/implementation/functions/max.html">max
function</a></span></dt>
-<dt><span class="section"><a href="tut/limits/implementation/constants0/lowest.html">lowest
+<dt><span class="section"><a href="tut/limits/implementation/functions/lowest.html">lowest
function</a></span></dt>
-<dt><span class="section"><a href="tut/limits/implementation/constants0/min.html">min
+<dt><span class="section"><a href="tut/limits/implementation/functions/min.html">min
function</a></span></dt>
+<dt><span class="section"><a href="tut/limits/implementation/functions/denorm_min.html">denorm_min
+ function</a></span></dt>
+<dt><span class="section">round_error</span></dt>
+<dt><span class="section">epsilon</span></dt>
+<dt><span class="section"><a href="tut/limits/implementation/functions/infinity.html">Infinity
+ - positive and negative</a></span></dt>
+<dt><span class="section"><a href="tut/limits/implementation/functions/NaN.html">Not-A-Number
+ NaN</a></span></dt>
</dl></dd>
</dl></dd>
<dt><span class="section"><a href="tut/limits/version_32.html">32-bit
Modified: sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/floats/fp_eg/aos.html
==============================================================================
--- sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/floats/fp_eg/aos.html Fri Aug 30 04:59:59 2013 (r85523)
+++ sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/floats/fp_eg/aos.html 2013-08-30 05:00:30 EDT (Fri, 30 Aug 2013) (r85524)
@@ -24,11 +24,11 @@
circle a of radius r, given by
</p>
<div class="blockquote"><blockquote class="blockquote"><p>
- <span class="emphasis"><em>a = [pi] * r<sup>2</sup></em></span>
+ <span class="emphasis"><em>a = π * r<sup>2</sup></em></span>
</p></blockquote></div>
<p>
The area of a circle can be computed in generic programming using Boost.Math
- for the constant [pi] as shown below:
+ for the constant π as shown below:
</p>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">math</span><span class="special">/</span><span class="identifier">constants</span><span class="special">/</span><span class="identifier">constants</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
Modified: sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/floats/fp_eg/jel.html
==============================================================================
--- sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/floats/fp_eg/jel.html Fri Aug 30 04:59:59 2013 (r85523)
+++ sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/floats/fp_eg/jel.html 2013-08-30 05:00:30 EDT (Fri, 30 Aug 2013) (r85524)
@@ -27,7 +27,7 @@
The Jahnke-Emden Lambda function is defined by the equation:
</p>
<div class="blockquote"><blockquote class="blockquote"><p>
- <span class="emphasis"><em>JahnkeEmden(v, z) = [Gamma](v+1) * J<sub>v</sub>(z) / (z / 2)<sup>v</sup></em></span>
+ <span class="emphasis"><em>JahnkeEmden(v, z) = Γ(v+1) * J<sub>v</sub>(z) / (z / 2)<sup>v</sup></em></span>
</p></blockquote></div>
<p>
If we were to implement this at double precision using Boost.Math's facilities
Modified: sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/floats/fp_eg/nd.html
==============================================================================
--- sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/floats/fp_eg/nd.html Fri Aug 30 04:59:59 2013 (r85523)
+++ sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/floats/fp_eg/nd.html 2013-08-30 05:00:30 EDT (Fri, 30 Aug 2013) (r85524)
@@ -22,8 +22,8 @@
In this example we'll add even more power to generic numeric programming
using not only different floating-point types but also function objects
as template parameters. Consider some well-known central difference rules
- for numerically computing the first derivative of a function <span class="emphasis"><em>f[prime](x)</em></span>
- with <span class="emphasis"><em>x [isin] [real]</em></span>:
+ for numerically computing the first derivative of a function <span class="emphasis"><em>f′(x)</em></span>
+ with <span class="emphasis"><em>x ∈ ℜ</em></span>:
</p>
<p>
<span class="inlinemediaobject"><img src="../../../../../floating_point_eg1.png"></span>
@@ -39,13 +39,12 @@
</p>
<p>
The third formula in Equation 1 is a three-point central difference rule.
- It calculates the first derivative of <span class="emphasis"><em>f[prime](x)</em></span>
- to <span class="emphasis"><em>O(dx<sup>6</sup>)</em></span>, where <span class="emphasis"><em>dx</em></span> is the
- given step-size. For example, if the step-size is 0.01 this derivative
- calculation has about 6 decimal digits of precision - just about right
- for the 7 decimal digits of single-precision float. Let's make a generic
- template subroutine using this three-point central difference rule. In
- particular:
+ It calculates the first derivative of <span class="emphasis"><em>f′(x)</em></span> to <span class="emphasis"><em>O(dx<sup>6</sup>)</em></span>,
+ where <span class="emphasis"><em>dx</em></span> is the given step-size. For example, if
+ the step-size is 0.01 this derivative calculation has about 6 decimal
+ digits of precision - just about right for the 7 decimal digits of single-precision
+ float. Let's make a generic template subroutine using this three-point
+ central difference rule. In particular:
</p>
<pre class="programlisting"><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">value_type</span><span class="special">,</span> <span class="keyword">typename</span> <span class="identifier">function_type</span><span class="special">></span>
<span class="identifier">value_type</span> <span class="identifier">derivative</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span> <span class="identifier">x</span><span class="special">,</span> <span class="keyword">const</span> <span class="identifier">value_type</span> <span class="identifier">dx</span><span class="special">,</span> <span class="identifier">function_type</span> <span class="identifier">func</span><span class="special">)</span>
@@ -73,7 +72,7 @@
template function can be used to compute the first derivative of any
function to <span class="emphasis"><em>O(dx<sup>6</sup>)</em></span>. For example, consider the first
derivative of <span class="emphasis"><em>sin(x)</em></span> evaluated at <span class="emphasis"><em>x =
- [pi]/3</em></span>. In other words,
+ π/3</em></span>. In other words,
</p>
<p>
<span class="inlinemediaobject"><img src="../../../../../floating_point_eg3.png"></span>
Modified: sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/limits.html
==============================================================================
--- sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/limits.html Fri Aug 30 04:59:59 2013 (r85523)
+++ sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/limits.html 2013-08-30 05:00:30 EDT (Fri, 30 Aug 2013) (r85524)
@@ -38,16 +38,26 @@
<dt><span class="section">route_style</span></dt>
<dt><span class="section">has_denorm_loss</span></dt>
<dt><span class="section">denorm_style</span></dt>
+<dt><span class="section"><a href="limits/implementation/constants/tinyness.html">Tinyness
+ before rounding</a></span></dt>
</dl></dd>
-<dt><span class="section"><a href="limits/implementation/constants0.html">std::numeric_limits<>
+<dt><span class="section"><a href="limits/implementation/functions.html">std::numeric_limits<>
functions</a></span></dt>
<dd><dl>
-<dt><span class="section"><a href="limits/implementation/constants0/max.html">max
+<dt><span class="section"><a href="limits/implementation/functions/max.html">max
function</a></span></dt>
-<dt><span class="section"><a href="limits/implementation/constants0/lowest.html">lowest
+<dt><span class="section"><a href="limits/implementation/functions/lowest.html">lowest
function</a></span></dt>
-<dt><span class="section"><a href="limits/implementation/constants0/min.html">min
+<dt><span class="section"><a href="limits/implementation/functions/min.html">min
function</a></span></dt>
+<dt><span class="section"><a href="limits/implementation/functions/denorm_min.html">denorm_min
+ function</a></span></dt>
+<dt><span class="section">round_error</span></dt>
+<dt><span class="section">epsilon</span></dt>
+<dt><span class="section"><a href="limits/implementation/functions/infinity.html">Infinity
+ - positive and negative</a></span></dt>
+<dt><span class="section"><a href="limits/implementation/functions/NaN.html">Not-A-Number
+ NaN</a></span></dt>
</dl></dd>
</dl></dd>
<dt><span class="section"><a href="limits/version_32.html">32-bit
Modified: sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/limits/implementation.html
==============================================================================
--- sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/limits/implementation.html Fri Aug 30 04:59:59 2013 (r85523)
+++ sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/limits/implementation.html 2013-08-30 05:00:30 EDT (Fri, 30 Aug 2013) (r85524)
@@ -36,16 +36,26 @@
<dt><span class="section">route_style</span></dt>
<dt><span class="section">has_denorm_loss</span></dt>
<dt><span class="section">denorm_style</span></dt>
+<dt><span class="section"><a href="implementation/constants/tinyness.html">Tinyness
+ before rounding</a></span></dt>
</dl></dd>
-<dt><span class="section"><a href="implementation/constants0.html">std::numeric_limits<>
+<dt><span class="section"><a href="implementation/functions.html">std::numeric_limits<>
functions</a></span></dt>
<dd><dl>
-<dt><span class="section"><a href="implementation/constants0/max.html">max
+<dt><span class="section"><a href="implementation/functions/max.html">max
function</a></span></dt>
-<dt><span class="section"><a href="implementation/constants0/lowest.html">lowest
+<dt><span class="section"><a href="implementation/functions/lowest.html">lowest
function</a></span></dt>
-<dt><span class="section"><a href="implementation/constants0/min.html">min
+<dt><span class="section"><a href="implementation/functions/min.html">min
function</a></span></dt>
+<dt><span class="section"><a href="implementation/functions/denorm_min.html">denorm_min
+ function</a></span></dt>
+<dt><span class="section">round_error</span></dt>
+<dt><span class="section">epsilon</span></dt>
+<dt><span class="section"><a href="implementation/functions/infinity.html">Infinity
+ - positive and negative</a></span></dt>
+<dt><span class="section"><a href="implementation/functions/NaN.html">Not-A-Number
+ NaN</a></span></dt>
</dl></dd>
</dl></div>
<p>
Modified: sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/limits/limits32.html
==============================================================================
--- sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/limits/limits32.html Fri Aug 30 04:59:59 2013 (r85523)
+++ sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/limits/limits32.html 2013-08-30 05:00:30 EDT (Fri, 30 Aug 2013) (r85524)
@@ -165,7 +165,7 @@
<tr>
<td>
<p>
- char16_t
+ unsigned char
</p>
</td>
<td>
@@ -195,19 +195,19 @@
</td>
<td>
<p>
- 16
+ 8
</p>
</td>
<td>
<p>
- 4
+ 2
</p>
</td>
</tr>
<tr>
<td>
<p>
- char32_t
+ char16_t
</p>
</td>
<td>
@@ -237,19 +237,19 @@
</td>
<td>
<p>
- 32
+ 16
</p>
</td>
<td>
<p>
- 9
+ 4
</p>
</td>
</tr>
<tr>
<td>
<p>
- unsigned char
+ char32_t
</p>
</td>
<td>
@@ -279,12 +279,12 @@
</td>
<td>
<p>
- 8
+ 32
</p>
</td>
<td>
<p>
- 2
+ 9
</p>
</td>
</tr>
@@ -1007,27 +1007,15 @@
</div>
<br class="table-break"><div class="table">
<a name="boost_multiprecision.tut.limits.limits32.integral_functions"></a><p class="title"><b>Table 1.5. Integer types functions (<code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">is_integer</span>
- <span class="special">==</span> <span class="keyword">true</span></code>)</b></p>
+ <span class="special">==</span> <span class="keyword">true</span>
+ <span class="special">&&</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">min</span><span class="special">()</span> <span class="special">==</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">lowest</span><span class="special">()</span></code> )</b></p>
<div class="table-contents"><table class="table" summary="Integer types functions (std::numeric_limits<T>::is_integer
- == true)">
+ == true
+ && std::numeric_limits<T>::min() == std::numeric_limits<T>::lowest() )">
<colgroup>
<col>
<col>
<col>
-<col>
-<col>
-<col>
-<col>
-<col>
-<col>
-<col>
-<col>
-<col>
-<col>
-<col>
-<col>
-<col>
-<col>
</colgroup>
<thead><tr>
<th>
@@ -1037,125 +1025,139 @@
</th>
<th>
<p>
- bool
+ max
</p>
</th>
<th>
<p>
- char
+ min
</p>
</th>
-<th>
+</tr></thead>
+<tbody>
+<tr>
+<td>
<p>
- unsigned char
+ bool
</p>
- </th>
-<th>
+ </td>
+<td>
<p>
- char16_t
+ 1
</p>
- </th>
-<th>
+ </td>
+<td>
<p>
- char32_t
+ 0
</p>
- </th>
-<th>
+ </td>
+</tr>
+<tr>
+<td>
<p>
- short
+ char
</p>
- </th>
-<th>
+ </td>
+<td>
<p>
- unsigned short
+ 127
</p>
- </th>
-<th>
+ </td>
+<td>
<p>
- int
+ -128
</p>
- </th>
-<th>
+ </td>
+</tr>
+<tr>
+<td>
<p>
- unsigned int
+ unsigned char
</p>
- </th>
-<th>
+ </td>
+<td>
<p>
- long
+ 255
</p>
- </th>
-<th>
+ </td>
+<td>
<p>
- unsigned long
+ 0
</p>
- </th>
-<th>
+ </td>
+</tr>
+<tr>
+<td>
<p>
- long long
+ char16_t
</p>
- </th>
-<th>
+ </td>
+<td>
<p>
- unsigned long long
+ 65535
</p>
- </th>
-<th>
+ </td>
+<td>
<p>
- int32_t
+ 0
</p>
- </th>
-<th>
+ </td>
+</tr>
+<tr>
+<td>
<p>
- int64_t
+ char32_t
</p>
- </th>
-<th>
+ </td>
+<td>
<p>
- int128_t
+ 4294967295
</p>
- </th>
-</tr></thead>
-<tbody>
-<tr>
+ </td>
<td>
<p>
- max
+ 0
</p>
</td>
+</tr>
+<tr>
<td>
<p>
- 1
+ short
</p>
</td>
<td>
<p>
- 127
+ 32767
</p>
</td>
<td>
<p>
- 255
+ -32768
</p>
</td>
+</tr>
+<tr>
<td>
<p>
- 65535
+ unsigned short
</p>
</td>
<td>
<p>
- -1
+ 65535
</p>
</td>
<td>
<p>
- 32767
+ 0
</p>
</td>
+</tr>
+<tr>
<td>
<p>
- 65535
+ int
</p>
</td>
<td>
@@ -1165,12 +1167,14 @@
</td>
<td>
<p>
- 4294967295
+ -2147483648
</p>
</td>
+</tr>
+<tr>
<td>
<p>
- 2147483647
+ unsigned int
</p>
</td>
<td>
@@ -1180,12 +1184,14 @@
</td>
<td>
<p>
- 9223372036854775807
+ 0
</p>
</td>
+</tr>
+<tr>
<td>
<p>
- 18446744073709551615
+ long
</p>
</td>
<td>
@@ -1195,19 +1201,19 @@
</td>
<td>
<p>
- 9223372036854775807
+ -2147483648
</p>
</td>
+</tr>
+<tr>
<td>
<p>
- 340282366920938463463374607431768211455
+ unsigned long
</p>
</td>
-</tr>
-<tr>
<td>
<p>
- min
+ 4294967295
</p>
</td>
<td>
@@ -1215,29 +1221,33 @@
0
</p>
</td>
+</tr>
+<tr>
<td>
<p>
- -128
+ long long
</p>
</td>
<td>
<p>
- 0
+ 9223372036854775807
</p>
</td>
<td>
<p>
- 0
+ -9223372036854775808
</p>
</td>
+</tr>
+<tr>
<td>
<p>
- 0
+ unsigned long long
</p>
</td>
<td>
<p>
- -32768
+ 18446744073709551615
</p>
</td>
<td>
@@ -1245,14 +1255,16 @@
0
</p>
</td>
+</tr>
+<tr>
<td>
<p>
- -2147483648
+ int32_t
</p>
</td>
<td>
<p>
- 0
+ 2147483647
</p>
</td>
<td>
@@ -1260,29 +1272,33 @@
-2147483648
</p>
</td>
+</tr>
+<tr>
<td>
<p>
- 0
+ int64_t
</p>
</td>
<td>
<p>
- -9223372036854775808
+ 9223372036854775807
</p>
</td>
<td>
<p>
- 0
+ -9223372036854775808
</p>
</td>
+</tr>
+<tr>
<td>
<p>
- -2147483648
+ int128_t
</p>
</td>
<td>
<p>
- -9223372036854775808
+ 340282366920938463463374607431768211455
</p>
</td>
<td>
@@ -1295,16 +1311,8 @@
</table></div>
</div>
<br class="table-break"><div class="table">
-<a name="boost_multiprecision.tut.limits.limits32.float_functions"></a><p class="title"><b>Table 1.6. Floating-point types constants (<code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">is_integer</span>
- <span class="special">==</span> <span class="keyword">false</span>
- <span class="special">&&</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">is_modulo</span>
- <span class="special">==</span> <span class="keyword">false</span></code>
- )</b></p>
-<div class="table-contents"><table class="table" summary="Floating-point types constants (std::numeric_limits<T>::is_integer
- == false
- && std::numeric_limits<T>::is_modulo
- == false
- )">
+<a name="boost_multiprecision.tut.limits.limits32.float_functions"></a><p class="title"><b>Table 1.6. Floating-point types constants (<code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">is_integer</span><span class="special">==</span><span class="keyword">false</span> <span class="special">&&</span> <span class="identifier">is_signed</span><span class="special">==</span><span class="keyword">true</span> <span class="special">&&</span> <span class="identifier">is_modulo</span><span class="special">==</span><span class="keyword">false</span> <span class="special">&&</span> <span class="identifier">is_exact</span><span class="special">==</span><span class="keyword">false</span> <span class="special">&&</span> <span class="identifier">is_bound</span><span cla
ss="special">==</span><span class="keyword">true</span></code>)</b></p>
+<div class="table-contents"><table class="table" summary="Floating-point types constants (std::numeric_limits<T>::is_integer==false && is_signed==true && is_modulo==false && is_exact==false && is_bound==true)">
<colgroup>
<col>
<col>
@@ -1318,9 +1326,6 @@
<col>
<col>
<col>
-<col>
-<col>
-<col>
</colgroup>
<thead><tr>
<th>
@@ -1330,21 +1335,6 @@
</th>
<th>
<p>
- signed
- </p>
- </th>
-<th>
- <p>
- exact
- </p>
- </th>
-<th>
- <p>
- bound
- </p>
- </th>
-<th>
- <p>
round
</p>
</th>
@@ -1398,8 +1388,6 @@
trap
</p>
</th>
-<th>
- </th>
</tr></thead>
<tbody>
<tr>
@@ -1410,21 +1398,6 @@
</td>
<td>
<p>
- signed
- </p>
- </td>
-<td>
- <p>
- inexact
- </p>
- </td>
-<td>
- <p>
- bound
- </p>
- </td>
-<td>
- <p>
to nearest
</p>
</td>
@@ -1487,21 +1460,6 @@
</td>
<td>
<p>
- signed
- </p>
- </td>
-<td>
- <p>
- inexact
- </p>
- </td>
-<td>
- <p>
- bound
- </p>
- </td>
-<td>
- <p>
to nearest
</p>
</td>
@@ -1564,21 +1522,6 @@
</td>
<td>
<p>
- signed
- </p>
- </td>
-<td>
- <p>
- inexact
- </p>
- </td>
-<td>
- <p>
- bound
- </p>
- </td>
-<td>
- <p>
to nearest
</p>
</td>
@@ -1641,21 +1584,6 @@
</td>
<td>
<p>
- signed
- </p>
- </td>
-<td>
- <p>
- inexact
- </p>
- </td>
-<td>
- <p>
- bound
- </p>
- </td>
-<td>
- <p>
indeterminate
</p>
</td>
@@ -1718,21 +1646,6 @@
</td>
<td>
<p>
- signed
- </p>
- </td>
-<td>
- <p>
- inexact
- </p>
- </td>
-<td>
- <p>
- bound
- </p>
- </td>
-<td>
- <p>
to nearest
</p>
</td>
Modified: sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/limits/version_32.html
==============================================================================
--- sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/limits/version_32.html Fri Aug 30 04:59:59 2013 (r85523)
+++ sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/boost_multiprecision/tut/limits/version_32.html 2013-08-30 05:00:30 EDT (Fri, 30 Aug 2013) (r85524)
@@ -6,12 +6,12 @@
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Multiprecision">
<link rel="up" href="../limits.html" title="Numeric Limits">
-<link rel="prev" href="implementation/constants0/min.html" title="min function">
+<link rel="prev" href="implementation/functions/NaN.html" title="Not-A-Number NaN">
<link rel="next" href="limits32.html" title="Numeric limits for 32-bit platform">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="spirit-nav">
-<a accesskey="p" href="implementation/constants0/min.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../limits.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="limits32.html"><img src="../../../images/next.png" alt="Next"></a>
+<a accesskey="p" href="implementation/functions/NaN.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../limits.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="limits32.html"><img src="../../../images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
@@ -19,9 +19,9 @@
version information used for tables below.</a>
</h4></div></div></div>
<pre class="programlisting">
-Program: I:\boost-sandbox\multiprecision.cpp_bin_float\libs\multiprecision\doc<br>
-umeric_limits_qbk.cpp
-Sat Aug 24 18:07:37 2013
+Program:
+ numeric_limits_qbk.cpp
+Wed Aug 28 14:27:58 2013
BuildInfo:
Platform Win32
Compiler Microsoft Visual C++ version 10.0
@@ -40,7 +40,7 @@
</tr></table>
<hr>
<div class="spirit-nav">
-<a accesskey="p" href="implementation/constants0/min.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../limits.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="limits32.html"><img src="../../../images/next.png" alt="Next"></a>
+<a accesskey="p" href="implementation/functions/NaN.html"><img src="../../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../limits.html"><img src="../../../images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../images/home.png" alt="Home"></a><a accesskey="n" href="limits32.html"><img src="../../../images/next.png" alt="Next"></a>
</div>
</body>
</html>
Modified: sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/index.html
==============================================================================
--- sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/index.html Fri Aug 30 04:59:59 2013 (r85523)
+++ sandbox/multiprecision.cpp_bin_float/libs/multiprecision/doc/html/index.html 2013-08-30 05:00:30 EDT (Fri, 30 Aug 2013) (r85524)
@@ -97,7 +97,7 @@
<dd><dl>
<dt><span class="section"><a href="boost_multiprecision/tut/limits/implementation/constants.html">std::numeric_limits<>
constants</a></span></dt>
-<dt><span class="section"><a href="boost_multiprecision/tut/limits/implementation/constants0.html">std::numeric_limits<>
+<dt><span class="section"><a href="boost_multiprecision/tut/limits/implementation/functions.html">std::numeric_limits<>
functions</a></span></dt>
</dl></dd>
<dt><span class="section"><a href="boost_multiprecision/tut/limits/version_32.html">32-bit
@@ -147,7 +147,7 @@
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"><p><small>Last revised: August 24, 2013 at 17:17:40 GMT</small></p></td>
+<td align="left"><p><small>Last revised: August 29, 2013 at 15:24:50 GMT</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk