Re: [BangPypers] CPython's 'bignum' Implementation

2009-05-18 Thread Amit Saha
On Mon, May 18, 2009 at 11:56 AM, Baishampayan Ghose b.gh...@gmail.com wrote: Amit, Thanks :) Since you are the one who asked the question, you can also accept my answer as the right answer for the question by clicking on the tick sign below the voting widget. I know. My original question

[BangPypers] CPython's 'bignum' Implementation

2009-05-15 Thread Amit Saha
Hello all, So, from my SO question: http://stackoverflow.com/questions/867393/how-do-languages-such-as-python-overcome-cs-integral-data-limits , I learn that Python has 'bignum' for supporting Arbitrary Precision arithmetic. Now, how does CPython implement bignum? From what I gather, there is

Re: [BangPypers] CPython's 'bignum' Implementation

2009-05-15 Thread Venkatraman S
On Fri, May 15, 2009 at 5:09 PM, Amit Saha amitsaha...@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,

Re: [BangPypers] CPython's 'bignum' Implementation

2009-05-15 Thread Roshan Mathews
On Fri, May 15, 2009 at 5:12 PM, Venkatraman S venka...@gmail.com wrote: On Fri, May 15, 2009 at 5:09 PM, Amit Saha amitsaha...@gmail.com wrote: http://www.python.org/dev/peps/pep-0237/. However, if any of you folks know something concrete, I would appreciate it. Try searching in c.l.p - i

Re: [BangPypers] CPython's 'bignum' Implementation

2009-05-15 Thread Baishampayan Ghose
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