Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #3423

[RELEASE] mpdecimal-2.5.0

From Stefan Krah <stefan@bytereef.org>
Newsgroups comp.lang.python.announce
Subject [RELEASE] mpdecimal-2.5.0
Date 2020-06-29 15:27 +0200
Message-ID <20200629132701.GA4734@bytereef.org> (permalink)

Show all headers | View raw


Hi,

I've released mpdecimal-2.5.0:

   http://www.bytereef.org/mpdecimal/index.html

15417edc8e12a57d1d9d75fa7e3f22b158a3b98f44db9d694cfd2acde8dfa0ca  mpdecimal-2.5.0.tar.gz


Starting with Python 3.9, this version should be used for an external libmpdec.


Python versions 3.7 and 3.8 should use the previous version mpdecimal-2.4.2.


libmpdec
========

libmpdec will continue to evolve conservatively.  For the few changes, see:

   http://www.bytereef.org/mpdecimal/changelog.html


libmpdec++
==========

mpdecimal now includes libmpdec++.  libmpdec++ is a complete C++ implementation
of the General Decimal Arithmetic Specification.

   http://www.bytereef.org/mpdecimal/doc/libmpdec++/index.html


The library frees users from manual memory management and has an easy API with
inline operators similar to the one in Python's decimal module.  Like Python's
decimal module, libmpdec++ has a thread local context for inline operators and
other functions that use the implicit context.


Depending on the compiler, the speed penalty for the C++ features compared
to libmpdec is 4-10%.

The best compiler I found is gcc (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1), closely
followed by the latest Intel compiler.  Both produce the fastest libmpdec code
and have a speed penalty for C++ of 4%.


Like libmpdec, libmpdec++ has a large test suite.  In addition to the mpdecimal
tests, libmpdec++ has been tested by replacing all libmpdec functions in Python's
decimal module with libmpdec++ functions.

libmpdec++ passes both the Python test suite and deccheck.py.


For a short libmpdec++ introduction, see:

   http://www.bytereef.org/mpdecimal/quickstart.html



Stefan Krah

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

[RELEASE] mpdecimal-2.5.0 Stefan Krah <stefan@bytereef.org> - 2020-06-29 15:27 +0200

csiph-web