Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
Next

Chapter 1. Boost.Multiprecision

John Maddock

Christopher Kormanyos

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

Table of Contents

Introduction
Tutorial
Integer Types
cpp_int
gmp_int
tom_int
Examples
Factorials
Bit Operations
floating-point Numbers
cpp_bin_float
cpp_dec_float
gmp_float
mpfr_float
float128
Examples
Area of Circle
Defining a Special Function.
Calculating a Derivative
Calculating an Integral
Polynomial Evaluation
Variable Precision Newton Evaluation
Interval Number Types
mpfi_float
Complex Number Types
cpp_complex
mpc_complex
complex128
complex_adaptor
Rational Number Types
cpp_rational
gmp_rational
tommath_rational
Use With Boost.Rational
rational_adaptor
Miscellaneous Number Types.
logged_adaptor
debug_adaptor
Visual C++ Debugger Visualizers
Constructing and Interconverting Between Number Types
Generating Random Numbers
Primality Testing
Literal Types and constexpr Support
Importing and Exporting Data to and from cpp_int and cpp_bin_float
Rounding Rules for Conversions
Mixed Precision Arithmetic
Generic Integer Operations
Boost.Serialization Support
Numeric Limits
std::numeric_limits<> constants
std::numeric_limits<> functions
Numeric limits for 32-bit platform
How to Determine the Kind of a Number From std::numeric_limits
Input Output
Hash Function Support
Eigen Interoperability
Reference
number
cpp_int
gmp_int
tom_int
gmp_float
mpfr_float_backend
cpp_bin_float
cpp_dec_float
Internal Support Code
Backend Requirements
Header File Structure
Performance Comparison
The Overhead in the Number Class Wrapper
Floating-Point Real World Tests
Integer Real World Tests
Float Algorithm Performance
Integer Algorithm Performance
Rational Type Performance
Roadmap
History
TODO
FAQ
Acknowledgements
Indexes
Function Index
Class Index
Typedef Index
Index

Last revised: April 09, 2019 at 19:39:00 GMT


Next