Comment #21 on issue 60 by asmeurer: ironpython porting
http://code.google.com/p/sympy/issues/detail?id=60
The specific problem is
from bisect import bisect
powers = [1<<_ for _ in range(300)]
bisect(powers, 0)
Perhaps this is actually an IronPython bug. I get
powers[-1]
1018517988167243043134222844204689080525734196832968125318070224677190649881668353091698688L
powers[-1] < 0
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OverflowError: Number overflow.
It seems that it's using machine integers. Any 2**n < 0 raises this error
for n > 63 (and oddly enough, sys.maxint is 2**31 - 1).
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.