Calculate Big Number

Roy Smith roy at panix.com
Mon Jan 7 20:41:20 EST 2013


In article <mailman.252.1357608154.2939.python-list at python.org>,
 Nac Temha <naccttemha at gmail.com> wrote:

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

Now, that's a good question.  The answer is that Python implements 
multiple-precision arithmetic.  This is an awesome feature, as it means 
you never have to worry about integer overflow again.  A good 
introduction to the subject can be found at

http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic



More information about the Python-list mailing list