This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients BTaskaya, mark.dickinson, skrah, tim.peters, veky
Date 2020-02-07.15:55:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581090935.27.0.705082286299.issue39576@roundup.psfhosted.org>
In-reply-to
Content
The feature would be nice to have; however, if you choose the precision to match the amount of available RAM things work (I have 8GB here, one word in the coefficient has 19 digits for the 4 bit version):

>>> from decimal import *
>>> c = getcontext()
>>> c.prec = 8 * 2**30 // 64 * 19
>>> c.prec
2550136832
>>> i = Decimal(4)
>>> i / 2
Decimal('2')



So I wonder if we really need to do something here.
History
Date User Action Args
2020-02-07 15:55:35skrahsetrecipients: + skrah, tim.peters, mark.dickinson, veky, BTaskaya
2020-02-07 15:55:35skrahsetmessageid: <1581090935.27.0.705082286299.issue39576@roundup.psfhosted.org>
2020-02-07 15:55:35skrahlinkissue39576 messages
2020-02-07 15:55:35skrahcreate