On Sun, Dec 5, 2010 at 10:52 AM, Iftikhar Burhanuddin
<burha...@math.ucla.edu> wrote:
> This is on mod.math.washington.edu.
>
> burha...@mod:~$ uname -m
> x86_64
>
> E = 2^(10^10)
>
> works fine on the subsequent attempts. I wonder why the error on the first
> attempt.

Perhaps there wasn't enough free RAM available on
mod.math.washington.edu when you tried, due to other users.

 -- William

>
> On Sun, 5 Dec 2010, John Cremona wrote:
>
>> On a 64-bit machine I can compute 2^)10^10) with no trouble.
>>
>> On a 32-bit machine I get a more explicit error message than you reported:
>>
>> RuntimeError: exponent must be at most 2147483647
>>
>> which answers your question.  Note that this number is 2^31-1, and
>> that 10^10 is larger than that by a factor of about 4.6.
>>
>> John
>>
>> On Sun, Dec 5, 2010 at 5:15 PM, Iftikhar Burhanuddin
>> <burha...@math.ucla.edu> wrote:
>>>
>>> Please explain the reason for the error. Is the number too big? If so
>>> what
>>> is the range of integer computability?
>>>
>>> Regards,
>>> Ifti
>>>
>>> sage: E = 2^(10^10)
>>>
>>> ---------------------------------------------------------------------------
>>> RuntimeError                              Traceback (most recent call
>>> last)
>>>
>>> /home/burhanud/sumhtlp/<ipython console> in <module>()
>>>
>>> RuntimeError:
>>>
>>> --
>>> 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
>>>
>>
>> --
>> 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
>>
>
> --
> 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
>



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
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