Download

License

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

Libmpdec/libmpdec++ Stable Version (2021-01-28)

The downloads are identical, except that the ZIP archive has DOS line endings.

OS File Size sha256sum
All mpdecimal-2.5.1.tar.gz 2.5MB 9f9cd4c041f99b5c49ffb7b59d9f12d95b683d88585608aa56a6307667b2b21f
All mpdecimal-2.5.1.zip 2.8MB c9bd0923be3faf11270b2d7c489493b6da3f8187d2e5c9f2b496bfebf8afc16a

Libmpdec large test suite (2021-01-28)

OS File Size sha256sum
All mpdecimal-testit-2.5.1.tar.gz 7.4MB f97ab0875dfa4d97c8fc88c28dc4c48f242f05005b055928cc149a5c6831c95b
All mpdecimal-testit-2.5.0.tar.gz 7.4MB dba3af69e87353b28676461c00be48686bfc768416d641901c02efa535d6d628
All mpdecimal-testit-2.4.1.tar.gz 7.3MB dd6d27f22acf693ec48c289a97e045b471c0e897c9205895895606c8d42148e9
All mpdecimal-testit-2.4.0.tar.gz 7.3MB 102a5181a28336eb42dc2018c7535f5d0ddf40535932c2b3eb92fbbabe682180

Previous Stable Releases (2020-06-28)

OS File Size sha256sum
All mpdecimal-2.5.0.tar.gz 2.5MB 15417edc8e12a57d1d9d75fa7e3f22b158a3b98f44db9d694cfd2acde8dfa0ca
All mpdecimal-2.4.2.tar.gz 2.2MB 83c628b90f009470981cf084c5418329c88b19835d8af3691b930afccb7d79c7
All mpdecimal-2.4.1.tar.gz 2.2MB da74d3cfab559971a4fbd4fb506e1b4498636eb77d0fd09e44f8e546d18ac068
All mpdecimal-2.4.0.tar.gz 2.2MB 996c73b63868699c4f86694671bd7ff3d1a8a88d8af2c22a5abe0c9a5845cf75

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 -