skip to navigation
skip to content

Not Logged In

cdecimal 2.3

Fast drop-in replacement for decimal.py

Please note: cdecimal has been integrated into CPython 3.3, where it supersedes the pure Python version: import decimal will automatically import the C version. Performance has been improved further, so the cdecimal version shipped with CPython 3.3 is significantly faster for numerical workload than cdecimal-2.3. If you need maximum decimal computing performance, you should solely use that Python version.

cdecimal is a fast drop-in replacement for the decimal module in Python's standard library for Python versions 2.5 up to 3.2. It provides a complete implementation of Mike Cowlishaw/IBM's General Decimal Arithmetic Specification.

Since cdecimal is compatible with decimal, the official documentation is valid: http://docs.python.org/library/decimal.html

For the few remaining differences, see: http://www.bytereef.org/mpdecimal/doc/cdecimal/index.html

NOTE: cdecimal is an external package, so the download count below is incorrect.

 
  • Downloads (All Versions):
  • 0 downloads in the last day
  • 0 downloads in the last week
  • 0 downloads in the last month