Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / multiprecision / doc / html / boost_multiprecision / tut.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>Tutorial</title>
5 <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7 <link rel="home" href="../index.html" title="Chapter&#160;1.&#160;Boost.Multiprecision">
8 <link rel="up" href="../index.html" title="Chapter&#160;1.&#160;Boost.Multiprecision">
9 <link rel="prev" href="intro.html" title="Introduction">
10 <link rel="next" href="tut/ints.html" title="Integer Types">
11 </head>
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr>
14 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
15 <td align="center"><a href="../../../../../index.html">Home</a></td>
16 <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
17 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19 <td align="center"><a href="../../../../../more/index.htm">More</a></td>
20 </tr></table>
21 <hr>
22 <div class="spirit-nav">
23 <a accesskey="p" href="intro.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tut/ints.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
24 </div>
25 <div class="section">
26 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
27 <a name="boost_multiprecision.tut"></a><a class="link" href="tut.html" title="Tutorial">Tutorial</a>
28 </h2></div></div></div>
29 <div class="toc"><dl class="toc">
30 <dt><span class="section"><a href="tut/ints.html">Integer Types</a></span></dt>
31 <dd><dl>
32 <dt><span class="section"><a href="tut/ints/cpp_int.html">cpp_int</a></span></dt>
33 <dt><span class="section"><a href="tut/ints/gmp_int.html">gmp_int</a></span></dt>
34 <dt><span class="section"><a href="tut/ints/tom_int.html">tom_int</a></span></dt>
35 <dt><span class="section"><a href="tut/ints/egs.html">Examples</a></span></dt>
36 <dd><dl>
37 <dt><span class="section"><a href="tut/ints/egs/factorials.html">Factorials</a></span></dt>
38 <dt><span class="section"><a href="tut/ints/egs/bitops.html">Bit Operations</a></span></dt>
39 </dl></dd>
40 </dl></dd>
41 <dt><span class="section"><a href="tut/floats.html">Floating Point Numbers</a></span></dt>
42 <dd><dl>
43 <dt><span class="section"><a href="tut/floats/cpp_bin_float.html">cpp_bin_float</a></span></dt>
44 <dt><span class="section"><a href="tut/floats/cpp_dec_float.html">cpp_dec_float</a></span></dt>
45 <dt><span class="section"><a href="tut/floats/gmp_float.html">gmp_float</a></span></dt>
46 <dt><span class="section"><a href="tut/floats/mpfr_float.html">mpfr_float</a></span></dt>
47 <dt><span class="section"><a href="tut/floats/float128.html">float128</a></span></dt>
48 <dt><span class="section"><a href="tut/floats/fp_eg.html">Examples</a></span></dt>
49 <dd><dl>
50 <dt><span class="section"><a href="tut/floats/fp_eg/aos.html">Area of
51           Circle</a></span></dt>
52 <dt><span class="section"><a href="tut/floats/fp_eg/jel.html">Defining
53           a Special Function.</a></span></dt>
54 <dt><span class="section"><a href="tut/floats/fp_eg/nd.html">Calculating
55           a Derivative</a></span></dt>
56 <dt><span class="section"><a href="tut/floats/fp_eg/gi.html">Calculating
57           an Integral</a></span></dt>
58 <dt><span class="section"><a href="tut/floats/fp_eg/poly_eg.html">Polynomial
59           Evaluation</a></span></dt>
60 </dl></dd>
61 </dl></dd>
62 <dt><span class="section"><a href="tut/interval.html">Interval Number Types</a></span></dt>
63 <dd><dl><dt><span class="section"><a href="tut/interval/mpfi.html">mpfi_float</a></span></dt></dl></dd>
64 <dt><span class="section"><a href="tut/rational.html">Rational Number Types</a></span></dt>
65 <dd><dl>
66 <dt><span class="section"><a href="tut/rational/cpp_rational.html">cpp_rational</a></span></dt>
67 <dt><span class="section"><a href="tut/rational/gmp_rational.html">gmp_rational</a></span></dt>
68 <dt><span class="section"><a href="tut/rational/tommath_rational.html">tommath_rational</a></span></dt>
69 <dt><span class="section"><a href="tut/rational/br.html">Use With Boost.Rational</a></span></dt>
70 <dt><span class="section"><a href="tut/rational/rational_adaptor.html">rational_adaptor</a></span></dt>
71 </dl></dd>
72 <dt><span class="section"><a href="tut/misc.html">Miscellaneous Number Types.</a></span></dt>
73 <dd><dl>
74 <dt><span class="section"><a href="tut/misc/logged_adaptor.html">logged_adaptor</a></span></dt>
75 <dt><span class="section"><a href="tut/misc/debug_adaptor.html">debug_adaptor</a></span></dt>
76 <dt><span class="section"><a href="tut/misc/visualizers.html">Visual C++
77         Debugger Visualizers</a></span></dt>
78 </dl></dd>
79 <dt><span class="section"><a href="tut/conversions.html">Constructing and
80       Interconverting Between Number Types</a></span></dt>
81 <dt><span class="section"><a href="tut/random.html">Generating Random Numbers</a></span></dt>
82 <dt><span class="section"><a href="tut/primetest.html">Primality Testing</a></span></dt>
83 <dt><span class="section"><a href="tut/lits.html">Literal Types and <code class="computeroutput"><span class="keyword">constexpr</span></code> Support</a></span></dt>
84 <dt><span class="section"><a href="tut/rounding.html">Rounding Rules for
85       Conversions</a></span></dt>
86 <dt><span class="section"><a href="tut/mixed.html">Mixed Precision Arithmetic</a></span></dt>
87 <dt><span class="section"><a href="tut/gen_int.html">Generic Integer Operations</a></span></dt>
88 <dt><span class="section"><a href="tut/serial.html">Boost.Serialization
89       Support</a></span></dt>
90 <dt><span class="section"><a href="tut/limits.html">Numeric Limits</a></span></dt>
91 <dd><dl>
92 <dt><span class="section"><a href="tut/limits/constants.html">std::numeric_limits&lt;&gt;
93         constants</a></span></dt>
94 <dt><span class="section"><a href="tut/limits/functions.html">std::numeric_limits&lt;&gt;
95         functions</a></span></dt>
96 <dt><span class="section"><a href="tut/limits/limits32.html">Numeric limits
97         for 32-bit platform</a></span></dt>
98 <dt><span class="section"><a href="tut/limits/how_to_tell.html">How to
99         Determine the Kind of a Number From <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span></code></a></span></dt>
100 </dl></dd>
101 <dt><span class="section"><a href="tut/input_output.html">Input Output</a></span></dt>
102 </dl></div>
103 <p>
104       In order to use this library you need to make two choices:
105     </p>
106 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
107 <li class="listitem">
108           What kind of number do I want (<a class="link" href="tut/ints.html" title="Integer Types">integer</a>,
109           <a class="link" href="tut/floats.html" title="Floating Point Numbers">floating point</a> or
110           <a class="link" href="tut/rational.html" title="Rational Number Types">rational</a>).
111         </li>
112 <li class="listitem">
113           Which back-end do I want to perform the actual arithmetic (Boost-supplied,
114           GMP, MPFR, Tommath etc)?
115         </li>
116 </ul></div>
117 </div>
118 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
119 <td align="left"></td>
120 <td align="right"><div class="copyright-footer">Copyright &#169; 2002-2013 John Maddock and Christopher Kormanyos<p>
121         Distributed under the Boost Software License, Version 1.0. (See accompanying
122         file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
123       </p>
124 </div></td>
125 </tr></table>
126 <hr>
127 <div class="spirit-nav">
128 <a accesskey="p" href="intro.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="tut/ints.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
129 </div>
130 </body>
131 </html>