1<html> 2<head> 3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4<title>Chapter 1. Boost.Multiprecision</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 1. Boost.Multiprecision"> 8<link rel="next" href="boost_multiprecision/intro.html" title="Introduction"> 9</head> 10<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 11<table cellpadding="2" width="100%"><tr> 12<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> 13<td align="center"><a href="../../../../index.html">Home</a></td> 14<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> 15<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td> 16<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td> 17<td align="center"><a href="../../../../more/index.htm">More</a></td> 18</tr></table> 19<hr> 20<div class="spirit-nav"><a accesskey="n" href="boost_multiprecision/intro.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a></div> 21<div class="chapter"> 22<div class="titlepage"><div> 23<div><h2 class="title"> 24<a name="boost_multiprecision"></a>Chapter 1. Boost.Multiprecision</h2></div> 25<div><div class="author"><h3 class="author"> 26<span class="firstname">John</span> <span class="surname">Maddock</span> 27</h3></div></div> 28<div><div class="author"><h3 class="author"> 29<span class="firstname">Christopher</span> <span class="surname">Kormanyos</span> 30</h3></div></div> 31<div><p class="copyright">Copyright © 2002-2020 John 32 Maddock and Christopher Kormanyos</p></div> 33<div><div class="legalnotice"> 34<a name="boost_multiprecision.legal"></a><p> 35 Distributed under the Boost Software License, Version 1.0. (See accompanying 36 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>) 37 </p> 38</div></div> 39</div></div> 40<div class="toc"> 41<p><b>Table of Contents</b></p> 42<dl class="toc"> 43<dt><span class="section"><a href="boost_multiprecision/intro.html">Introduction</a></span></dt> 44<dt><span class="section"><a href="boost_multiprecision/tut.html">Tutorial</a></span></dt> 45<dd><dl> 46<dt><span class="section"><a href="boost_multiprecision/tut/ints.html">Integer Types</a></span></dt> 47<dd><dl> 48<dt><span class="section"><a href="boost_multiprecision/tut/ints/cpp_int.html">cpp_int</a></span></dt> 49<dt><span class="section"><a href="boost_multiprecision/tut/ints/gmp_int.html">gmp_int</a></span></dt> 50<dt><span class="section"><a href="boost_multiprecision/tut/ints/tom_int.html">tom_int</a></span></dt> 51<dt><span class="section"><a href="boost_multiprecision/tut/ints/egs.html">Examples</a></span></dt> 52<dd><dl> 53<dt><span class="section"><a href="boost_multiprecision/tut/ints/egs/factorials.html">Factorials</a></span></dt> 54<dt><span class="section"><a href="boost_multiprecision/tut/ints/egs/bitops.html">Bit Operations</a></span></dt> 55</dl></dd> 56</dl></dd> 57<dt><span class="section"><a href="boost_multiprecision/tut/floats.html">Floating-point Types</a></span></dt> 58<dd><dl> 59<dt><span class="section"><a href="boost_multiprecision/tut/floats/cpp_bin_float.html">cpp_bin_float</a></span></dt> 60<dt><span class="section"><a href="boost_multiprecision/tut/floats/cpp_dec_float.html">cpp_dec_float</a></span></dt> 61<dt><span class="section"><a href="boost_multiprecision/tut/floats/gmp_float.html">gmp_float</a></span></dt> 62<dt><span class="section"><a href="boost_multiprecision/tut/floats/mpfr_float.html">mpfr_float</a></span></dt> 63<dt><span class="section"><a href="boost_multiprecision/tut/floats/float128.html">float128</a></span></dt> 64<dt><span class="section"><a href="boost_multiprecision/tut/floats/fp_eg.html">Examples</a></span></dt> 65<dd><dl> 66<dt><span class="section"><a href="boost_multiprecision/tut/floats/fp_eg/aos.html">Area of 67 Circle</a></span></dt> 68<dt><span class="section"><a href="boost_multiprecision/tut/floats/fp_eg/caveats.html">Drop-in 69 Caveats</a></span></dt> 70<dt><span class="section"><a href="boost_multiprecision/tut/floats/fp_eg/jel.html">Defining 71 a Special Function.</a></span></dt> 72<dt><span class="section"><a href="boost_multiprecision/tut/floats/fp_eg/nd.html">Calculating 73 a Derivative</a></span></dt> 74<dt><span class="section"><a href="boost_multiprecision/tut/floats/fp_eg/gi.html">Calculating 75 an Integral</a></span></dt> 76<dt><span class="section"><a href="boost_multiprecision/tut/floats/fp_eg/poly_eg.html">Polynomial 77 Evaluation</a></span></dt> 78<dt><span class="section"><a href="boost_multiprecision/tut/floats/fp_eg/variable_precision.html">Variable-Precision 79 Newton Evaluation</a></span></dt> 80<dt><span class="section"><a href="boost_multiprecision/tut/floats/fp_eg/gauss_lagerre_quadrature.html">Gauss-Laguerre 81 quadrature</a></span></dt> 82</dl></dd> 83</dl></dd> 84<dt><span class="section"><a href="boost_multiprecision/tut/interval.html">Interval Number Types</a></span></dt> 85<dd><dl><dt><span class="section"><a href="boost_multiprecision/tut/interval/mpfi.html">mpfi_float</a></span></dt></dl></dd> 86<dt><span class="section"><a href="boost_multiprecision/tut/complex.html">Complex Number Types</a></span></dt> 87<dd><dl> 88<dt><span class="section"><a href="boost_multiprecision/tut/complex/cpp_complex.html">cpp_complex</a></span></dt> 89<dt><span class="section"><a href="boost_multiprecision/tut/complex/mpc_complex.html">mpc_complex</a></span></dt> 90<dt><span class="section"><a href="boost_multiprecision/tut/complex/complex128.html">complex128</a></span></dt> 91<dt><span class="section"><a href="boost_multiprecision/tut/complex/complex_adaptor.html">complex_adaptor</a></span></dt> 92</dl></dd> 93<dt><span class="section"><a href="boost_multiprecision/tut/rational.html">Rational Number Types</a></span></dt> 94<dd><dl> 95<dt><span class="section"><a href="boost_multiprecision/tut/rational/cpp_rational.html">cpp_rational</a></span></dt> 96<dt><span class="section"><a href="boost_multiprecision/tut/rational/gmp_rational.html">gmp_rational</a></span></dt> 97<dt><span class="section"><a href="boost_multiprecision/tut/rational/tommath_rational.html">tommath_rational</a></span></dt> 98<dt><span class="section"><a href="boost_multiprecision/tut/rational/br.html">Use With Boost.Rational</a></span></dt> 99<dt><span class="section"><a href="boost_multiprecision/tut/rational/rational_adaptor.html">rational_adaptor</a></span></dt> 100</dl></dd> 101<dt><span class="section"><a href="boost_multiprecision/tut/misc.html">Miscellaneous Number Types.</a></span></dt> 102<dd><dl> 103<dt><span class="section"><a href="boost_multiprecision/tut/misc/logged_adaptor.html">logged_adaptor</a></span></dt> 104<dt><span class="section"><a href="boost_multiprecision/tut/misc/debug_adaptor.html">debug_adaptor</a></span></dt> 105<dt><span class="section"><a href="boost_multiprecision/tut/misc/visualizers.html">Visual C++ 106 Debugger Visualizers</a></span></dt> 107</dl></dd> 108<dt><span class="section"><a href="boost_multiprecision/tut/conversions.html">Constructing and 109 Interconverting Between Number Types</a></span></dt> 110<dt><span class="section"><a href="boost_multiprecision/tut/random.html">Generating Random Numbers</a></span></dt> 111<dt><span class="section"><a href="boost_multiprecision/tut/primetest.html">Primality Testing</a></span></dt> 112<dt><span class="section"><a href="boost_multiprecision/tut/lits.html">Literal Types and <code class="computeroutput"><span class="keyword">constexpr</span></code> Support</a></span></dt> 113<dt><span class="section"><a href="boost_multiprecision/tut/import_export.html">Importing and 114 Exporting Data to and from <code class="computeroutput"><span class="identifier">cpp_int</span></code> 115 and <code class="computeroutput"><span class="identifier">cpp_bin_float</span></code></a></span></dt> 116<dt><span class="section"><a href="boost_multiprecision/tut/rounding.html">Rounding Rules for 117 Conversions</a></span></dt> 118<dt><span class="section"><a href="boost_multiprecision/tut/mixed.html">Mixed Precision Arithmetic</a></span></dt> 119<dt><span class="section"><a href="boost_multiprecision/tut/gen_int.html">Generic Integer Operations</a></span></dt> 120<dt><span class="section"><a href="boost_multiprecision/tut/serial.html">Boost.Serialization 121 Support</a></span></dt> 122<dt><span class="section"><a href="boost_multiprecision/tut/limits.html">Numeric Limits</a></span></dt> 123<dd><dl> 124<dt><span class="section"><a href="boost_multiprecision/tut/limits/constants.html">std::numeric_limits<> 125 constants</a></span></dt> 126<dt><span class="section"><a href="boost_multiprecision/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"><></span></code> functions</a></span></dt> 127<dt><span class="section"><a href="boost_multiprecision/tut/limits/limits32.html">Numeric limits 128 for 32-bit platform</a></span></dt> 129<dt><span class="section"><a href="boost_multiprecision/tut/limits/how_to_tell.html">How to 130 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> 131</dl></dd> 132<dt><span class="section"><a href="boost_multiprecision/tut/input_output.html">Input Output</a></span></dt> 133<dt><span class="section"><a href="boost_multiprecision/tut/hash.html">Hash Function Support</a></span></dt> 134<dt><span class="section"><a href="boost_multiprecision/tut/eigen.html">Eigen Interoperability</a></span></dt> 135<dt><span class="section"><a href="boost_multiprecision/tut/new_backend.html">Writing a New Backend</a></span></dt> 136</dl></dd> 137<dt><span class="section"><a href="boost_multiprecision/ref.html">Reference</a></span></dt> 138<dd><dl> 139<dt><span class="section"><a href="boost_multiprecision/ref/number.html">number</a></span></dt> 140<dt><span class="section"><a href="boost_multiprecision/ref/cpp_int_ref.html">cpp_int</a></span></dt> 141<dt><span class="section"><a href="boost_multiprecision/ref/gmp_int_ref.html">gmp_int</a></span></dt> 142<dt><span class="section"><a href="boost_multiprecision/ref/tom_int_ref.html">tom_int</a></span></dt> 143<dt><span class="section"><a href="boost_multiprecision/ref/mpf_ref.html">gmp_float</a></span></dt> 144<dt><span class="section"><a href="boost_multiprecision/ref/mpfr_ref.html">mpfr_float_backend</a></span></dt> 145<dt><span class="section"><a href="boost_multiprecision/ref/cpp_bin_float_ref.html">cpp_bin_float</a></span></dt> 146<dt><span class="section"><a href="boost_multiprecision/ref/cpp_dec_ref.html">cpp_dec_float</a></span></dt> 147<dt><span class="section"><a href="boost_multiprecision/ref/internals.html">Internal Support 148 Code</a></span></dt> 149<dt><span class="section"><a href="boost_multiprecision/ref/backendconc.html">Backend Requirements</a></span></dt> 150<dt><span class="section"><a href="boost_multiprecision/ref/headers.html">Header File Structure</a></span></dt> 151</dl></dd> 152<dt><span class="section"><a href="boost_multiprecision/perf.html">Performance Comparison</a></span></dt> 153<dd><dl> 154<dt><span class="section"><a href="boost_multiprecision/perf/overhead.html">The Overhead in the 155 Number Class Wrapper</a></span></dt> 156<dt><span class="section"><a href="boost_multiprecision/perf/realworld.html">Floating-Point Real 157 World Tests</a></span></dt> 158<dt><span class="section"><a href="boost_multiprecision/perf/int_real_world.html">Integer Real 159 World Tests</a></span></dt> 160<dt><span class="section"><a href="boost_multiprecision/perf/float_performance.html">Float Algorithm 161 Performance</a></span></dt> 162<dt><span class="section"><a href="boost_multiprecision/perf/integer_performance.html">Integer 163 Algorithm Performance</a></span></dt> 164<dt><span class="section"><a href="boost_multiprecision/perf/rational_performance.html">Rational 165 Type Performance</a></span></dt> 166</dl></dd> 167<dt><span class="section"><a href="boost_multiprecision/map.html">Roadmap</a></span></dt> 168<dd><dl> 169<dt><span class="section"><a href="boost_multiprecision/map/hist.html">History</a></span></dt> 170<dt><span class="section"><a href="boost_multiprecision/map/todo.html">TODO</a></span></dt> 171<dt><span class="section"><a href="boost_multiprecision/map/faq.html">FAQ</a></span></dt> 172<dt><span class="section"><a href="boost_multiprecision/map/ack.html">Acknowledgements</a></span></dt> 173</dl></dd> 174<dt><span class="section"><a href="boost_multiprecision/indexes.html">Indexes</a></span></dt> 175<dd><dl> 176<dt><span class="section"><a href="boost_multiprecision/indexes/s01.html">Function Index</a></span></dt> 177<dt><span class="section"><a href="boost_multiprecision/indexes/s02.html">Class Index</a></span></dt> 178<dt><span class="section"><a href="boost_multiprecision/indexes/s03.html">Typedef Index</a></span></dt> 179<dt><span class="section"><a href="boost_multiprecision/indexes/s04.html">Index</a></span></dt> 180</dl></dd> 181</dl> 182</div> 183</div> 184<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> 185<td align="left"><p><small>Last revised: August 11, 2020 at 14:59:50 GMT</small></p></td> 186<td align="right"><div class="copyright-footer"></div></td> 187</tr></table> 188<hr> 189<div class="spirit-nav"><a accesskey="n" href="boost_multiprecision/intro.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a></div> 190</body> 191</html> 192