[Python-Dev] Decimal data type issues
aahz at pythoncraft.com
Wed Apr 14 10:39:35 EDT 2004
On Tue, Apr 13, 2004, Batista, Facundo wrote:
> Exponent Maximum
> The Decimal number composes of three elements: A sign that can be 0 or 1, a
> tuple of digits where each can be 0..9, and an exponent.
> The exponent is an integer, and in the actual implementation exists a
> DEFAULT_MAX_EXPONENT = 999999999
> DEFAULT_MIN_EXPONENT = -999999999
> ABSOLUTE_MAX_EXP = 999999999
> ABSOLUTE_MIN_EXP = -999999999
> The issue is that this limit is artificial: As long it's a long, you should
> be able to make it as big as your memory let you.
As long as it's in Python code, it's easy enough for a whiner to modify
it. Leave it as-is. Other than that, I agree with Tim.
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
Why is this newsgroup different from all other newsgroups?
More information about the Python-Dev