|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r77608 - in sandbox/big_number/libs/multiprecision/doc: . html html/boost_multiprecision html/boost_multiprecision/tut
From: john_at_[hidden]
Date: 2012-03-28 13:53:36
Author: johnmaddock
Date: 2012-03-28 13:53:35 EDT (Wed, 28 Mar 2012)
New Revision: 77608
URL: http://svn.boost.org/trac/boost/changeset/77608
Log:
Add links to arbitary precision definition.
Text files modified:
sandbox/big_number/libs/multiprecision/doc/html/boost_multiprecision/intro.html | 3 ++-
sandbox/big_number/libs/multiprecision/doc/html/boost_multiprecision/tut/ints.html | 11 +++++++----
sandbox/big_number/libs/multiprecision/doc/html/boost_multiprecision/tut/random.html | 4 ++--
sandbox/big_number/libs/multiprecision/doc/html/index.html | 2 +-
sandbox/big_number/libs/multiprecision/doc/multiprecision.qbk | 12 +++++++-----
5 files changed, 19 insertions(+), 13 deletions(-)
Modified: sandbox/big_number/libs/multiprecision/doc/html/boost_multiprecision/intro.html
==============================================================================
--- sandbox/big_number/libs/multiprecision/doc/html/boost_multiprecision/intro.html (original)
+++ sandbox/big_number/libs/multiprecision/doc/html/boost_multiprecision/intro.html 2012-03-28 13:53:35 EDT (Wed, 28 Mar 2012)
@@ -49,7 +49,8 @@
</p>
<p>
The library is often used via one of the predefined typedefs: for example if
- you wanted an arbitrary precision integer type using GMP
+ you wanted an <a href="http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic" target="_top">arbitrary
+ precision</a> integer type using GMP
as the underlying implementation then you could use:
</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">multiprecision</span><span class="special">/</span><span class="identifier">gmp</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> <span class="comment">// Defines the wrappers around the GMP library's types</span>
Modified: sandbox/big_number/libs/multiprecision/doc/html/boost_multiprecision/tut/ints.html
==============================================================================
--- sandbox/big_number/libs/multiprecision/doc/html/boost_multiprecision/tut/ints.html (original)
+++ sandbox/big_number/libs/multiprecision/doc/html/boost_multiprecision/tut/ints.html 2012-03-28 13:53:35 EDT (Wed, 28 Mar 2012)
@@ -86,7 +86,8 @@
<td>
<p>
Very versatile, Boost licenced, all C++ integer type which support
- both arbitrary precision and fixed precision integer types.
+ both <a href="http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic" target="_top">arbitrary
+ precision</a> and fixed precision integer types.
</p>
</td>
<td>
@@ -201,8 +202,9 @@
</p>
<p>
This back-end is the "Swiss Army Knife" of integer types as it
- can represent both fixed and arbitrary precision integer types, and both
- signed and unsigned types. There are three template arguments:
+ can represent both fixed and <a href="http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic" target="_top">arbitrary
+ precision</a> integer types, and both signed and unsigned types. There
+ are three template arguments:
</p>
<div class="variablelist">
<p class="title"><b></b></p>
@@ -221,7 +223,8 @@
<dt><span class="term">Signed</span></dt>
<dd><p>
Determines whether the resulting type is signed or not. Note that for
- arbitrary precision types (where the Allocator parameter is non-void),
+ <a href="http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic" target="_top">arbitrary
+ precision</a> types (where the Allocator parameter is non-void),
then this parameter must be <code class="computeroutput"><span class="keyword">true</span></code>.
For fixed precision types then this type may be either <code class="computeroutput"><span class="keyword">true</span></code> (type is signed), or <code class="computeroutput"><span class="keyword">false</span></code> (type is unsigned).
</p></dd>
Modified: sandbox/big_number/libs/multiprecision/doc/html/boost_multiprecision/tut/random.html
==============================================================================
--- sandbox/big_number/libs/multiprecision/doc/html/boost_multiprecision/tut/random.html (original)
+++ sandbox/big_number/libs/multiprecision/doc/html/boost_multiprecision/tut/random.html 2012-03-28 13:53:35 EDT (Wed, 28 Mar 2012)
@@ -19,8 +19,8 @@
</h3></div></div></div>
<p>
Random numbers are generated in conjunction with Boost.Random. However, since
- Boost.Random is unaware of arbitrary precision numbers, it's necessary to
- include the header:
+ Boost.Random is unaware of <a href="http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic" target="_top">arbitrary
+ precision</a> numbers, it's necessary to include the header:
</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">multiprecision</span><span class="special">/</span><span class="identifier">random</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
</pre>
Modified: sandbox/big_number/libs/multiprecision/doc/html/index.html
==============================================================================
--- sandbox/big_number/libs/multiprecision/doc/html/index.html (original)
+++ sandbox/big_number/libs/multiprecision/doc/html/index.html 2012-03-28 13:53:35 EDT (Wed, 28 Mar 2012)
@@ -66,7 +66,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: March 28, 2012 at 17:43:15 GMT</small></p></td>
+<td align="left"><p><small>Last revised: March 28, 2012 at 17:52:12 GMT</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>
Modified: sandbox/big_number/libs/multiprecision/doc/multiprecision.qbk
==============================================================================
--- sandbox/big_number/libs/multiprecision/doc/multiprecision.qbk (original)
+++ sandbox/big_number/libs/multiprecision/doc/multiprecision.qbk 2012-03-28 13:53:35 EDT (Wed, 28 Mar 2012)
@@ -56,7 +56,7 @@
unconstrained license. Which is to say some back-ends rely on 3rd party libraries, but a header-only Boost license version is always
available (if somewhat slower).
-The library is often used via one of the predefined typedefs: for example if you wanted an arbitrary precision
+The library is often used via one of the predefined typedefs: for example if you wanted an [@http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic arbitrary precision]
integer type using [gmp] as the underlying implementation then you could use:
#include <boost/multiprecision/gmp.hpp> // Defines the wrappers around the GMP library's types
@@ -238,7 +238,7 @@
[table
[[Backend Type][Header][Radix][Dependencies][Pros][Cons]]
[[`cpp_int`][boost/multiprecision/cpp_int.hpp][2][None]
- [Very versatile, Boost licenced, all C++ integer type which support both arbitrary precision and fixed precision integer types.][Slower than [gmp], though typically not as slow as [tommath]]]
+ [Very versatile, Boost licenced, all C++ integer type which support both [@http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic arbitrary precision] and fixed precision integer types.][Slower than [gmp], though typically not as slow as [tommath]]]
[[`gmp_int`][boost/multiprecision/gmp.hpp][2][[gmp]][Very fast and efficient back-end.][Dependency on GNU licenced [gmp] library.]]
[[`tom_int`][boost/multiprecision/tommath.hpp][2][[tommath]][Public domain back-end with no licence restrictions.][Slower than [gmp].]]
]
@@ -275,7 +275,8 @@
`boost::multiprecision::mp_uint512_t`, `boost::multiprecision::mp_int128_t`, `boost::multiprecision::mp_int256_t`
or `boost::multiprecision::mp_int512_t`.
-This back-end is the "Swiss Army Knife" of integer types as it can represent both fixed and arbitrary precision
+This back-end is the "Swiss Army Knife" of integer types as it can represent both fixed and
+[@http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic arbitrary precision]
integer types, and both signed and unsigned types. There are three template arguments:
[variablelist
@@ -285,7 +286,8 @@
values will be stored internally before memory allocation is required.
When the Allocator parameter is type `void`, then this field
determines the total number of bits in the resulting fixed precision type.]]
-[[Signed][Determines whether the resulting type is signed or not. Note that for arbitrary precision types
+[[Signed][Determines whether the resulting type is signed or not. Note that for
+[@http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic arbitrary precision] types
(where the Allocator parameter is non-void), then this parameter must be `true`. For fixed precision
types then this type may be either `true` (type is signed), or `false` (type is unsigned).]]
[[Allocator][The allocator to use for dymamic memory allocation, or type `void` if this is to be a fixed precision type.]]
@@ -690,7 +692,7 @@
[section:random Generating Random Numbers]
Random numbers are generated in conjunction with Boost.Random. However, since Boost.Random is unaware
-of arbitrary precision numbers, it's necessary to include the header:
+of [@http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic arbitrary precision] numbers, it's necessary to include the header:
#include <boost/multiprecision/random.hpp>
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