List of arbitrary-precision arithmetic software


This article lists libraries, applications, and other software which enable or support arbitrary-precision arithmetic.

Libraries

Package-library nameNumber typeLanguageLicense
Boost Multiprecision LibraryIntegers, rationals, floats, and complexC++ and backends using GMP/MPFRBoost
Integers, floatsC++BSD
Integers, floatsCMIT
IntegersCGPL
GNU Multi-Precision Library Integers, rationals, and floatsC and C++ with bindingsLGPL
CLNIntegers, rationals, floats, and complexC++GPL
Integers, floats, and complexC++BSD-type
, Integers, decimal and complex floatsC Freeware
MPIR Integers, rationals, and floatsC and C++ with bindingsLGPL
Integers, rationals, and floatsC++Freeware
LEDAIntegers, rationals, and floatsC++Freeware
CGALIntegers, rationals, and floatsC++LGPL
Integers and rationalsC++Boost
IntegersCPublic Domain or WTFPL
libgcryptIntegersCLGPL
OpenSSLIntegersC
FloatsCMIT License
mbed TLSIntegersCApache License v2 and GPL
Integers, rationals, and floatsJavaBSD-type
Integers, rationals, and complex numbersJavaLGPL
Decimals, rationals, and complex numbersJavaLGPL
Integers, rationals, floats, and complex numbersJava, C++LGPL
Integers, rationals, floats, and complex numbersPascal, DelphiZlib
IntegersC++MPL
Integers, rationalsC BSD-type
IntegersC++GPL
IntegersRustApache License v2
FloatsRustApache License v2
IntegersCPublic Domain
Integers, rationalsANSI CMIT
Integers, rationals, naturals, floatsC MIT
Integers, naturalsCBSD
IntegersHaskell
IntegersNim
IntegersCISC
DecimalsGoBSD
Floats and complexPythonBSD
Integers, rationalsPHP, C#MIT License
Computable RealsCommon Lisp

Stand-alone application software

Software that supports arbitrary precision computations:
Programming languages that support arbitrary precision computations, either built-in, or in the standard library of the language:
For one-off calculations. Runs on server or in browser. No installation or compilation required.