I am having trouble with the following lines.  Should I make a new
trac ticket for this or am I just doing something wrong?  I am on a
MacBook pro.

from sage.rings.fast_arith import prime_range
print prime_range(10^16,10^16+100)

Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "/Users/guestadmin/.sage/sage_notebook/worksheets/admin/3/code/
22.py",
line 8, in <module>
   print prime_range(_sage_const_10 **_sage_const_16 ,_sage_const_10
**_sage_const_16 +_sage_const_100 )
 File "", line 1, in <module>

 File "fast_arith.pyx", line 56, in sage.rings.fast_arith.prime_range
(sage/rings/fast_arith.c:3813)
 File "fast_arith.pyx", line 105, in
sage.rings.fast_arith.prime_range (sage/rings/fast_arith.c:3580)
 File "gen.pyx", line 8629, in
sage.libs.pari.gen.PariInstance.primes_up_to_n
(sage/libs/pari/gen.c:40808)
OverflowError: long int too large to convert to int
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to