Calculate Big Number

Nac Temha naccttemha at gmail.com
Mon Jan 7 20:22:31 EST 2013


Thanks for reply. I wonder how quickly calculate big numbers. Can you
explain me as theoretical? Because this numbers overflow size of integer
and double.


On Tue, Jan 8, 2013 at 3:08 AM, Tim Chase <python.list at tim.thechases.com>wrote:

> On 01/07/13 18:44, Nac Temha wrote:
>
>> How to *quickly* calculate large numbers. For example
>>
>>> (10**25) * (2**50)
>>>>>
>>>> 112589990684262400000000000000**00000000000L
>>
>
> that's how...just do the math.  For any other sort of answer, you'd have
> to clarify your question.  On my laptop, that operation came back as
> quickly as I could press <enter>
>
> -tkc
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130108/8581aa0d/attachment.html>


More information about the Python-list mailing list