Imported Upstream version 1.72.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="../multiprecision.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.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 <dt><span class="section"><a href="tut/floats/fp_eg/variable_precision.html">Variable
61           Precision Newton Evaluation</a></span></dt>
62 </dl></dd>
63 </dl></dd>
64 <dt><span class="section"><a href="tut/interval.html">Interval Number Types</a></span></dt>
65 <dd><dl><dt><span class="section"><a href="tut/interval/mpfi.html">mpfi_float</a></span></dt></dl></dd>
66 <dt><span class="section"><a href="tut/complex.html">Complex Number Types</a></span></dt>
67 <dd><dl>
68 <dt><span class="section"><a href="tut/complex/cpp_complex.html">cpp_complex</a></span></dt>
69 <dt><span class="section"><a href="tut/complex/mpc_complex.html">mpc_complex</a></span></dt>
70 <dt><span class="section"><a href="tut/complex/complex128.html">complex128</a></span></dt>
71 <dt><span class="section"><a href="tut/complex/complex_adaptor.html">complex_adaptor</a></span></dt>
72 </dl></dd>
73 <dt><span class="section"><a href="tut/rational.html">Rational Number Types</a></span></dt>
74 <dd><dl>
75 <dt><span class="section"><a href="tut/rational/cpp_rational.html">cpp_rational</a></span></dt>
76 <dt><span class="section"><a href="tut/rational/gmp_rational.html">gmp_rational</a></span></dt>
77 <dt><span class="section"><a href="tut/rational/tommath_rational.html">tommath_rational</a></span></dt>
78 <dt><span class="section"><a href="tut/rational/br.html">Use With Boost.Rational</a></span></dt>
79 <dt><span class="section"><a href="tut/rational/rational_adaptor.html">rational_adaptor</a></span></dt>
80 </dl></dd>
81 <dt><span class="section"><a href="tut/misc.html">Miscellaneous Number Types.</a></span></dt>
82 <dd><dl>
83 <dt><span class="section"><a href="tut/misc/logged_adaptor.html">logged_adaptor</a></span></dt>
84 <dt><span class="section"><a href="tut/misc/debug_adaptor.html">debug_adaptor</a></span></dt>
85 <dt><span class="section"><a href="tut/misc/visualizers.html">Visual C++
86         Debugger Visualizers</a></span></dt>
87 </dl></dd>
88 <dt><span class="section"><a href="tut/conversions.html">Constructing and
89       Interconverting Between Number Types</a></span></dt>
90 <dt><span class="section"><a href="tut/random.html">Generating Random Numbers</a></span></dt>
91 <dt><span class="section"><a href="tut/primetest.html">Primality Testing</a></span></dt>
92 <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>
93 <dt><span class="section"><a href="tut/import_export.html">Importing and
94       Exporting Data to and from <code class="computeroutput"><span class="identifier">cpp_int</span></code>
95       and <code class="computeroutput"><span class="identifier">cpp_bin_float</span></code></a></span></dt>
96 <dt><span class="section"><a href="tut/rounding.html">Rounding Rules for
97       Conversions</a></span></dt>
98 <dt><span class="section"><a href="tut/mixed.html">Mixed Precision Arithmetic</a></span></dt>
99 <dt><span class="section"><a href="tut/gen_int.html">Generic Integer Operations</a></span></dt>
100 <dt><span class="section"><a href="tut/serial.html">Boost.Serialization
101       Support</a></span></dt>
102 <dt><span class="section"><a href="tut/limits.html">Numeric Limits</a></span></dt>
103 <dd><dl>
104 <dt><span class="section"><a href="tut/limits/constants.html">std::numeric_limits&lt;&gt;
105         constants</a></span></dt>
106 <dt><span class="section"><a href="tut/limits/functions.html"><code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">numeric_limits</span><span class="special">&lt;&gt;</span></code> functions</a></span></dt>
107 <dt><span class="section"><a href="tut/limits/limits32.html">Numeric limits
108         for 32-bit platform</a></span></dt>
109 <dt><span class="section"><a href="tut/limits/how_to_tell.html">How to
110         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>
111 </dl></dd>
112 <dt><span class="section"><a href="tut/input_output.html">Input Output</a></span></dt>
113 <dt><span class="section"><a href="tut/hash.html">Hash Function Support</a></span></dt>
114 <dt><span class="section"><a href="tut/eigen.html">Eigen Interoperability</a></span></dt>
115 </dl></div>
116 <p>
117       In order to use this library you need to make two choices:
118     </p>
119 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
120 <li class="listitem">
121           What kind of number do I want (<a class="link" href="tut/ints.html" title="Integer Types">integer</a>,
122           <a class="link" href="tut/floats.html" title="floating-point Numbers">floating-point</a>,
123           <a class="link" href="tut/rational.html" title="Rational Number Types">rational</a>, or
124           <a class="link" href="tut/complex.html" title="Complex Number Types">complex</a>).
125         </li>
126 <li class="listitem">
127           Which back-end do I want to perform the actual arithmetic (Boost-supplied,
128           GMP, MPFR, MPC, Tommath etc)?
129         </li>
130 </ul></div>
131 </div>
132 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
133 <td align="left"></td>
134 <td align="right"><div class="copyright-footer">Copyright &#169; 2002-2019 John Maddock
135       and Christopher Kormanyos<p>
136         Distributed under the Boost Software License, Version 1.0. (See accompanying
137         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>)
138       </p>
139 </div></td>
140 </tr></table>
141 <hr>
142 <div class="spirit-nav">
143 <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>
144 </div>
145 </body>
146 </html>