Download

License

The latest source and binary distributions on this page are licensed under the Simplified BSD License.

Libmpdec/libmpdec++ Stable Version (2025-05-05)

OS

File

Size

sha256sum

All

mpdecimal-4.0.1.tar.gz

309KB

96d33abb4bb0070c7be0fed4246cd38416188325f820468214471938545b1ac8

Previous Stable Releases (2024-01-16)

The zip/tar downloads are identical, except that the ZIP archives have DOS line endings.

OS

File

Size

sha256sum

All

mpdecimal-4.0.0.tar.gz

308KB

942445c3245b22730fd41a67a7c5c231d11cb1b9936b9c0f76334fb7d0b4468c

All

mpdecimal-4.0.0.zip

396KB

3649d935a16c7df2806d2dde7920de2b4b8a22ef28a63057d0193d11f68436be

All

mpdecimal-doc-4.0.0.tar.gz

150KB

9290499d1b934308de0b2167c2c71245fa11b4409e1dd5e7976107198bc662a0

All

mpdecimal-2.5.1.tar.gz

2.5MB

9f9cd4c041f99b5c49ffb7b59d9f12d95b683d88585608aa56a6307667b2b21f

All

mpdecimal-2.5.1.zip

2.8MB

c9bd0923be3faf11270b2d7c489493b6da3f8187d2e5c9f2b496bfebf8afc16a

Cdecimal Stable Version (2011-01-09)

OS

File

Size

sha256sum

All

cdecimal-2.3.tar.gz

320KB

d737cbe43ed1f6ad9874fb86c3db1e9bbe20c0c750868fde5be3f379ade83d8b

Python Module Installers

These versions are compatible with decimal.py.

OS

File

Py Version

Size

sha1sum

Windows

cdecimal-2.3.win32-py2.6.msi

2.6

192KB

d196a9e0b44dcb75bbf4eda44078b766e6113f72

Windows

cdecimal-2.3.win32-py2.7.msi

2.7

192KB

e2b044da6c241df0911059216821c9865cb9e4f0

Windows

cdecimal-2.3.win-amd64-py2.6.msi

2.6

224KB

84afd94126549a3c67c3bab7437d085347f9d05c

Windows

cdecimal-2.3.win-amd64-py2.7.msi

2.7

224KB

ba0fbb1f9314dcef29481414a5c3496ec159df2e

Python Module Installers (non-threaded version)

These versions are 8-16% faster, but in threaded programs the global default context cannot be used. Instead, thread local contexts have to be passed explicitly.

OS

File

Py Version

Size

sha1sum

Windows

cdecimal-2.3-no-thread.win32-py2.6.msi

2.6

192KB

40f245e907512c5d3602ba5993755a0b4b67ca80

Windows

cdecimal-2.3-no-thread.win32-py2.7.msi

2.7

192KB

960eb9bfd9fcf0faee6493506c1917d46536193a

Windows

cdecimal-2.3-no-thread.win-amd64-py2.6.msi

2.6

224KB

a2278910a5b447af963e1d427dbeb48f49e377be

Windows

cdecimal-2.3-no-thread.win-amd64-py2.7.msi

2.7

224KB

8da96d2f1ab1a98062cd43cb4f381b47309d8c22

Benchmarks

OS

File

sha1sum

Unix

decbench-2.4.0.tar.gz

bb8df22db616060c64bb0bb441708ebd0db3faf0

All

bench.py

-

All

Bench.java

-

All

telco.py

-

All

telco.testb

-

All

setup_dectest.sql

-

All

psycopg.py

-