Skip to main content
Ctrl+K

mp++ 2.0.0 documentation

  • Installation
  • Tutorial
    • Preliminaries
    • Construction, conversion and assignment
    • Input and output
    • The numerical tower and type coercion
    • Common operators
    • API overview
    • Integer tutorial
    • Rational tutorial
    • Quadruple-precision float tutorial
    • Quadruple-precision complex numbers tutorial
    • Multiprecision float tutorial
    • Multiprecision complex numbers tutorial
    • Boost.serialization support
    • Extra: integration with pybind11
  • Interactive notebooks
    • Integer basics
    • Integer formatted output
    • Integer arithmetic
    • Integer comparison
    • Integer logic and bit fiddling
    • Integer serialisation
    • Real basics
  • Reference
    • Versioning
    • Macros and definitions
    • Namespaces
    • Exceptions
    • Common concepts
    • Multiprecision integers
    • Multiprecision rationals
    • Quadruple-precision floats
    • Quadruple-precision complex numbers
    • Multiprecision floats
    • Multiprecision complex numbers
    • Utility functions
    • Forward declarations
  • Benchmarks
    • Integer benchmarks
  • Changelog
  • Repository
  • Open issue
  • .rst

Tutorial

Tutorial#

The tutorial is split into several subsections, and it is meant to be read in a sequential fashion. Users are encouraged to read the tutorial before moving on to the full C++ reference.

  • Preliminaries
  • Construction, conversion and assignment
  • Input and output
  • The numerical tower and type coercion
  • Common operators
  • API overview
  • Integer tutorial
  • Rational tutorial
  • Quadruple-precision float tutorial
  • Quadruple-precision complex numbers tutorial
  • Multiprecision float tutorial
  • Multiprecision complex numbers tutorial
  • Boost.serialization support
  • Extra: integration with pybind11

previous

Installation

next

Preliminaries

By Francesco Biscani

© Copyright 2016-2023, Francesco Biscani.