Skip to content
M

Mppp

Multiprecision for modern C++

by bluescarniFree

#497in Education
0In stores

Description

mp++ is a C++ library for multiprecision arithmetic. It targets C++11, 14, 17 and 20 and provides arbitrary-precision integers, rationals, f…

Highlights

  • Arbitrary-precision integers, rationals, floats and complex numbers
  • Quadruple-precision floats and complex numbers
  • Built on GMP, MPFR and MPC
  • Small-operand performance focus
  • Library of special functions

Ratings & Reviews

No ratings yet

Be the first to rate Mppp.

People also visit

R

RTM

Realtime Math

Education
Launch
C

cpp-pro

Writes, optimizes, and debugs C++ applications

AI Skills
Get
L

Libtommath

LibTomMath is a free open source portable number theoretic multiple-precision

Developer Tools
Launch
U

Ultimatepp

U++ is a C++ cross-platform rapid application development framework focused on

Developer Tools
Launch
F

Fastrange

A fast alternative to the modulo reduction

Utilities
Launch
A

AbstractAlgebra.jl

Generic abstract algebra functionality in pure Julia (no C dependencies)

Education
Launch

Mppp FAQ

What is mp++?

A C++ library for multiprecision arithmetic. It covers arbitrary-precision integers, rationals, floats and complex numbers, and it is meant to be used inside your own C++ code.

Which C++ versions does it support?

The README lists C++11, 14, 17 and 20.

What does it depend on?

The GNU multiprecision stack: GMP, MPFR and MPC. It began as a GMP wrapper with a focus on speed for small operands.

Does it provide fixed-size wide integers?

No. The README says it does not support types such as uint512_t and suggests Boost Multiprecision for those.

What license is it under?

The MPL2 license. The README notes it is a spinoff of the Piranha library, and asks users who work with it in research to cite it.

What are the best Mppp alternatives?

Popular alternatives to Mppp include RTM, AbstractAlgebra.jl and Tinyexpr. See all Mppp alternatives

Developer Stuff

Badges