3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>Complex Number Types</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="up" href="../tut.html" title="Tutorial">
9 <link rel="prev" href="interval/mpfi.html" title="mpfi_float">
10 <link rel="next" href="complex/cpp_complex.html" title="cpp_complex">
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="interval/mpfi.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../tut.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="complex/cpp_complex.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
26 <div class="titlepage"><div><div><h3 class="title">
27 <a name="boost_multiprecision.tut.complex"></a><a class="link" href="complex.html" title="Complex Number Types">Complex Number Types</a>
28 </h3></div></div></div>
29 <div class="toc"><dl class="toc">
30 <dt><span class="section"><a href="complex/cpp_complex.html">cpp_complex</a></span></dt>
31 <dt><span class="section"><a href="complex/mpc_complex.html">mpc_complex</a></span></dt>
32 <dt><span class="section"><a href="complex/complex128.html">complex128</a></span></dt>
33 <dt><span class="section"><a href="complex/complex_adaptor.html">complex_adaptor</a></span></dt>
36 The following backends provide complex number arithmetic:
38 <div class="informaltable"><table class="table">
83 <code class="computeroutput"><span class="identifier">cpp_complex</span></code>
88 boost/multiprecision/cpp_complex.hpp
103 An all C++ Boost-licensed implementation.
108 Slower than <a href="http://www.multiprecision.org" target="_top">MPC</a>.
115 <code class="computeroutput"><span class="identifier">mpc</span></code>
120 boost/multiprecision/mpc.hpp
130 <a href="http://www.multiprecision.org" target="_top">MPC</a>
135 Very fast and efficient back-end.
140 Dependency on LGLP-licensed [MPC] library.
147 <code class="computeroutput"><span class="identifier">compplex128</span></code>
152 boost/multiprecision/complex128.hpp
162 <code class="computeroutput"><a class="link" href="floats/float128.html" title="float128">float128</a></code>
168 Very fast and efficient number type.
173 128-bit precision only, and resticted to GCC.
180 <code class="computeroutput"><span class="identifier">complex_adaptor</span></code>
185 boost/multiprecision/complex_adaptor.hpp
200 Can convert any backend type into a complex number backend.
205 Not a numbe rin it's own right, and hard to use as a result.
212 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
213 <td align="left"></td>
214 <td align="right"><div class="copyright-footer">Copyright © 2002-2019 John Maddock
215 and Christopher Kormanyos<p>
216 Distributed under the Boost Software License, Version 1.0. (See accompanying
217 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>)
222 <div class="spirit-nav">
223 <a accesskey="p" href="interval/mpfi.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../tut.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="complex/cpp_complex.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>