[IronPython] IronPython and Big Numbers

Aaron Leiby fireonyoursleeve at hotmail.com
Fri Mar 9 18:34:05 CET 2007


http://www.codeplex.com/Wiki/View.aspx?ProjectName=IronPython&title=Differences

"IronPython raises a ValueError for very large exponents (for example, 10 ** 
735293857239475) while CPython hangs trying to compute the number.  We 
probably won't fix this one."

----- Original Message -----
From: "Michael Foord" <fuzzyman at voidspace.org.uk>
To: "Discussion of IronPython" <users at lists.ironpython.com>
Sent: Friday, March 09, 2007 4:30 AM
Subject: [IronPython] IronPython and Big Numbers

> IronPython doesn't seem to like *very* big integers :
>
> IronPython 1.0 (1.0.61005.1977) on .NET 2.0.50727.42
> Copyright (c) Microsoft Corporation. All rights reserved.
> >>> 10 ** 10 ** 10
> Traceback (most recent call last):
>  File , line 0, in <stdin>##78
> ValueError: number too big
>
> This may be fixed in 1.1, or it may not be important. :-)
>
> Michael Foord
> http://www.voidspace.org.uk/ironpython/index.shtml
>
> _______________________________________________
> users mailing list
> users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> 



More information about the Ironpython-users mailing list