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.77.1">
7 <link rel=
"home" href=
"../index.html" title=
"Chapter 1. Boost.Multiprecision">
8 <link rel=
"up" href=
"../index.html" title=
"Chapter 1. Boost.Multiprecision">
9 <link rel=
"prev" href=
"intro.html" title=
"Introduction">
10 <link rel=
"next" href=
"tut/ints.html" title=
"Integer Types">
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>
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>
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>
30 <dt><span class=
"section"><a href=
"tut/ints.html">Integer Types
</a></span></dt>
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>
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>
41 <dt><span class=
"section"><a href=
"tut/floats.html">floating-point Numbers
</a></span></dt>
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>
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>
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>
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>
72 <dt><span class=
"section"><a href=
"tut/misc.html">Miscellaneous Number Types.
</a></span></dt>
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>
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/import_export.html">Importing and
85 Exporting Data to and from cpp_int and cpp_bin_float
</a></span></dt>
86 <dt><span class=
"section"><a href=
"tut/rounding.html">Rounding Rules for
87 Conversions
</a></span></dt>
88 <dt><span class=
"section"><a href=
"tut/mixed.html">Mixed Precision Arithmetic
</a></span></dt>
89 <dt><span class=
"section"><a href=
"tut/gen_int.html">Generic Integer Operations
</a></span></dt>
90 <dt><span class=
"section"><a href=
"tut/serial.html">Boost.Serialization
91 Support
</a></span></dt>
92 <dt><span class=
"section"><a href=
"tut/limits.html">Numeric Limits
</a></span></dt>
94 <dt><span class=
"section"><a href=
"tut/limits/constants.html">std::numeric_limits
<>
95 constants
</a></span></dt>
96 <dt><span class=
"section"><a href=
"tut/limits/functions.html">std::numeric_limits
<>
97 functions
</a></span></dt>
98 <dt><span class=
"section"><a href=
"tut/limits/limits32.html">Numeric limits
99 for
32-bit platform
</a></span></dt>
100 <dt><span class=
"section"><a href=
"tut/limits/how_to_tell.html">How to
101 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>
103 <dt><span class=
"section"><a href=
"tut/input_output.html">Input Output
</a></span></dt>
104 <dt><span class=
"section"><a href=
"tut/hash.html">Hash Function Support
</a></span></dt>
107 In order to use this library you need to make two choices:
109 <div class=
"itemizedlist"><ul class=
"itemizedlist" style=
"list-style-type: disc; ">
110 <li class=
"listitem">
111 What kind of number do I want (
<a class=
"link" href=
"tut/ints.html" title=
"Integer Types">integer
</a>,
112 <a class=
"link" href=
"tut/floats.html" title=
"floating-point Numbers">floating-point
</a> or
113 <a class=
"link" href=
"tut/rational.html" title=
"Rational Number Types">rational
</a>).
115 <li class=
"listitem">
116 Which back-end do I want to perform the actual arithmetic (Boost-supplied,
117 GMP, MPFR, Tommath etc)?
121 <table xmlns:
rev=
"http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width=
"100%"><tr>
122 <td align=
"left"></td>
123 <td align=
"right"><div class=
"copyright-footer">Copyright
© 2002-
2013 John Maddock and Christopher Kormanyos
<p>
124 Distributed under the Boost Software License, Version
1.0. (See accompanying
125 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>)
130 <div class=
"spirit-nav">
131 <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>