[issue7652] Merge C version of decimal into py3k.

Stefan Krah report at bugs.python.org
Tue Mar 20 13:49:29 CET 2012


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

We need to decide what to do with the different limits of the 64-bit and
32-bit versions:

                   MAX_EMAX    

default context     10**9-1     
64-bit             10**18-1
32-bit            425000000   


I think it would be annoying to have the values in DefaultContext, 
ExtendedContext and BasicContext depend on the machine.

The best thing might be to use Emax=10**8-1 and Emin=-(10**8-1) throughout.
I don't think many applications depend on having Emax=10**9-1. If they do,
they'll have to use the 64-bit version.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7652>
_______________________________________


More information about the Python-bugs-list mailing list