1 2 3libmpdec 4======== 5 6libmpdec is a fast C/C++ library for correctly-rounded arbitrary precision 7decimal floating point arithmetic. It is a complete implementation of 8Mike Cowlishaw/IBM's General Decimal Arithmetic Specification. The full 9specification is available here: 10 11http://speleotrove.com/decimal/ 12 13 14libmpdec will - with minor restrictions - also conform to the IEEE 754-2008 15Standard for Floating-Point Arithmetic, provided that the appropriate context 16parameters are set. 17 18libmpdec is the basis for the decimal module in Python-3.3. 19 20 21The library has been tested on the following platforms: 22 23 amd64: Linux, FreeBSD, OpenBSD, OpenSolaris, Windows 24 25 ppc64: AIX 26 27 x86: Linux, FreeBSD, OpenBSD, OpenSolaris, Windows 28 29 mips32: Debian 30 31 32libmpdec++ 33========== 34 35libmpdec++ is a complete implementation of the General Decimal Arithmetic 36Specification. libmpdec++ is mostly a header library around libmpdec's 37C functions. 38 39The library frees users from manual memory management and has an easy API 40with inline operators similar to the one in Python's decimal module. Like 41Python's decimal module, libmpdec++ has a thread local context for inline 42operators and other functions that use the implicit context. 43 44In benchmarks the speed is close to libmpdec (about 4% slower due to the 45copying, destructor overhead and the thread local context). 46 47libmpdec++ has been tested on 64/32-bit Linux, 64/32-bit FreeBSD and OpenBSD 48and 64/32-bit Windows. 49 50 51Contact: Stefan Krah <skrah@bytereef.org> 52 53 54