8000 GitHub - sailfish009/mppp: Multiprecision for modern C++
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sailfish009/mppp

 
 

Repository files navigation

mp++

Build Status Build Status Build Status language Code Coverage Join the chat at https://gitter.im/bluescarni/mppp Anaconda-Server Badge DOI

mp++ is a C++11 library for multiprecision arithmetic, currently supporting arbitrary-precision integers, rationals and floats, and quadruple-precision floats.

Based on well-known libraries such as GMP, MPFR, and others, mp++ was initially conceived as a GMP wrapper with a special focus on performance with small operands. In particular, a small buffer optimisation and custom implementations of basic mathematical primitives are instrumental in achieving a performance increase, with respect to GMP and other integer multiprecision libraries, which can be substantial (see the benchmarks section of the documentation). The price to pay is a small overhead when operating on large integers.

Eventually, a multiprecision rational class and two multiprecision floating-point classes were added, and today a secondary objective of mp++ is to provide a modern, consistent and unified C++ interface to several lower-level multiprecision libraries.

mp++ is a spinoff of the Piranha library, released under the MPL2 license.

If you are using mp++ as part of your research, teaching, or other activities, we would be grateful if you could star the repository and/or cite our work. The DOI of the latest version and other citation resources are available at this link.

The documentation is available here.

About

Multiprecision for modern C++

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 97.0%
  • CMake 2.2%
  • Other 0.8%
0