...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 a snapshot of the master branch, built from commit dc5b7516fd.

- Integer Types
- Floating-point Types
- Interval Number Types
- Complex Number Types
- Rational Number Types
- Miscellaneous Number Types.
- 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
- Variable Precision Arithmetic
- Generic Integer Operations
- Boost.Serialization Support
- Numeric Limits
- Input Output
- Hash Function Support
- Eigen Interoperability
- Writing a New Backend

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)?