• Home
Name Date Size #Lines LOC

..--

doc/04-Jul-2025-160129

libmpdec/04-Jul-2025-23,48716,511

libmpdec++/04-Jul-2025-2,4201,668

tests/04-Jul-2025-8,1746,261

tests++/04-Jul-2025-7,1285,502

vcbuild/04-Jul-2025-661486

Android.bpD04-Jul-20251.2 KiB5144

CHANGELOG.txtD04-Jul-202514.6 KiB481296

COPYRIGHT.txtD04-Jul-20251.3 KiB2420

INSTALL.txtD04-Jul-20252.9 KiB9679

LICENSED04-Jul-202537.3 KiB748608

METADATAD04-Jul-2025477 1816

MODULE_LICENSE_BSDD04-Jul-20250

Makefile.inD04-Jul-20254.3 KiB162128

OWNERSD04-Jul-202551 21

README.txtD04-Jul-20251.5 KiB5430

config.guessD04-Jul-202549.4 KiB1,8041,577

config.h.inD04-Jul-20253.3 KiB11277

config.subD04-Jul-202534.5 KiB1,8961,706

configureD04-Jul-2025204.1 KiB6,8435,599

configure.acD04-Jul-202532.8 KiB1,111999

install-shD04-Jul-202515 KiB542352

README.txt

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