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


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

[RELEASE] mpdecimal-2.5.0

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Stefan Krah <stefan@bytereef.org>
Newsgroups comp.lang.python.announce
Subject [RELEASE] mpdecimal-2.5.0
Date Mon, 29 Jun 2020 15:27:01 +0200
Lines 62
Approved python-announce-list@python.org
Message-ID <20200629132701.GA4734@bytereef.org> (permalink)
Reply-To python-list@python.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Trace news.uni-berlin.de mcar0Bv9uGcBha5eYIGevwYSGNjn8sqjmCSKYLbqgaRA==
Authentication-Results mail.python.org; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; '3.7': 0.04; 'library': 0.04; '3.8': 0.07; "python's": 0.07; 'hat': 0.09; 'implicit': 0.09; 'intel': 0.09; 'module.': 0.09; 'operators': 0.09; 'thread': 0.09; 'cc:no real name:2**0': 0.14; 'python': 0.15; '==========': 0.16; 'arithmetic': 0.16; 'c++': 0.16; 'changes,': 0.16; 'context.': 0.16; 'decimal': 0.16; 'functions.': 0.16; 'module,': 0.16; 'received:136.143': 0.16; 'received:136.143.188': 0.16; 'received:zoho.com': 0.16; 'tested': 0.16; 'tests,': 0.16; 'url:doc': 0.16; 'memory': 0.16; 'module': 0.17; "i've": 0.20; 'subject:] ': 0.20; 'version': 0.21; 'api': 0.23; 'cc:addr:python.org': 0.24; 'functions': 0.25; 'code': 0.26; 'cc:2**0': 0.27; 'subject:[': 0.28; 'test': 0.29; 'url- ip:185.199.108.153/32': 0.29; 'url-ip:185.199.108/24': 0.29; 'url- ip:185.199.109.153/32': 0.29; 'url-ip:185.199.109/24': 0.29; 'url- ip:185.199.110.153/32': 0.29; 'url-ip:185.199.110/24': 0.29; 'url- ip:185.199.111.153/32': 0.29; 'url-ip:185.199.111/24': 0.29; 'url- ip:185.199/16': 0.29; 'local': 0.29; 'context': 0.32; 'external': 0.32; 'passes': 0.32; 'received:136': 0.32; 'stefan': 0.32; 'header:User-Agent:1': 0.32; 'sfxlen:2': 0.33; 'both': 0.35; 'users': 0.35; 'use': 0.36; 'should': 0.37; 'url-ip:185/8': 0.38; 'versions': 0.40; 'inline': 0.61; 'content-disposition:inline': 0.61; 'best': 0.63; 'to:addr:python-dev': 0.64; 'manual': 0.65; 'suite': 0.66; 'management': 0.67; 'complete': 0.67; 'url:index': 0.69; 'replacing': 0.69; 'addition': 0.69; 'released': 0.71; 'speed': 0.71; 'produce': 0.75; 'features': 0.76; 'compared': 0.78; 'received:109': 0.81; 'easy': 0.82; 'penalty': 0.84
ARC-Seal i=1; a=rsa-sha256; t=1593437229; cv=none; d=zohomail.com; s=zohoarc; b=LA96RriZOo9J8GvKFCBB9aXbG7GI1eZY1CR00NRRovfnnz1JZDkgA4b7Brb99BuEZf4DkAqmAiPQalgnY+qm8Fj6BXx7wfAWc9iTxR3KKTJZLYuKzI4ucHHERXZJWJWP53ZPWntScgkuh81/NxKEQwAhPs3At9mIoKn7/sNrvSQ=
ARC-Message-Signature i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1593437229; h=Content-Type:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=1nlclZcN8FT3msUNB+UsNYg7K3SDi4h8QUyw7unaYWA=; b=kaDAwS60WU6LpULhcw5N86S+6xnK/5zRzZBHSGIaSPwpfpzU7T2zXC4+Ln9LQvOEQjXeaa0pDnYzpyY3mUnRpADnwwlTprtaKWXMnQ8fh06TDwZA2rHCjOWEXL272pwRwwBC+dZzH+TfC/PN4GqrbhPioksXYHpLm6NJivHeZUM=
ARC-Authentication-Results i=1; mx.zohomail.com; spf=pass smtp.mailfrom=stefan@bytereef.org; dmarc=pass header.from=<stefan@bytereef.org> header.from=<stefan@bytereef.org>
Content-Disposition inline
User-Agent Mutt/1.10.1 (2018-07-13)
X-ZohoMailClient External
X-MailFrom stefan@bytereef.org
X-Mailman-Rule-Hits emergency
X-Mailman-Rule-Misses dmarc-mitigation; no-senders; approved
Message-ID-Hash XTULHJXEVQX66GZM26TQG2EIFL477QC2
X-Message-ID-Hash XTULHJXEVQX66GZM26TQG2EIFL477QC2
X-Mailman-Approved-At Mon, 29 Jun 2020 09:28:19 -0400
X-Mailman-Version 3.3.2b1
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
Archived-At <https://mail.python.org/archives/list/python-announce-list@python.org/message/XTULHJXEVQX66GZM26TQG2EIFL477QC2/>
List-Archive <https://mail.python.org/archives/list/python-announce-list@python.org/>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Post <mailto:python-announce-list@python.org>
List-Subscribe <mailto:python-announce-list-join@python.org>
List-Unsubscribe <mailto:python-announce-list-leave@python.org>
Xref csiph.com comp.lang.python.announce:3423

Show key headers only | 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