[BangPypers] CPython's 'bignum' Implementation

Amit Saha amitsaha.in at gmail.com
Mon May 18 06:19:16 CEST 2009

Hello Baishampayan,

On Sat, May 16, 2009 at 1:13 AM, Baishampayan Ghose <b.ghose at gmail.com> wrote:
>> Now, how does CPython implement bignum? From what I gather, there is
>> more than way of doing it- using a different radix (base),  an array
>> of numbers. One hint is given by
>> http://www.python.org/dev/peps/pep-0237/. However, if any of you folks
>> know something concrete, I would appreciate it.
> I have given a cursory glance to the Python code base and I think I
> know how it's implemented :)
> My findings are here -
> http://stackoverflow.com/questions/867393/how-do-languages-such-as-python-overcome-cs-integral-data-limits/870429#870429
> I would appreciate a few up-votes if you deem my answer to be satisfying :-p

I have given a +1 vote, I would have given one more, if SO allowed it.
But, Thanks!


Journal: http://amitksaha.wordpress.com
IRC: cornucopic on #scheme, #lisp, #math, #linux

"Recursion is the basic iteration mechanism in Scheme"
--- http://c2.com/cgi/wiki?TailRecursion

More information about the BangPypers mailing list