Home
Libraries
People
FAQ
More
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
In order to use this library you need to make two choices:
What kind of number do I want (
integer
,
floating-point
,
rational
, or
complex
).
Which back-end do I want to perform the actual arithmetic (Boost-supplied, GMP, MPFR, MPC, Tommath etc)?