Re: Multiprecision arithmetic library question.

2008-06-27 Thread M.-A. Lemburg
duncan smith wrote: > Michael Press wrote: >> In article <[EMAIL PROTECTED]>, >> Mark Wooding <[EMAIL PROTECTED]> wrote: >> >>> Michael Press <[EMAIL PROTECTED]> wrote: >>> I already compiled and installed the GNU multiprecision library on Mac OS X, and link to it in C programs. How do I

Re: Multiprecision arithmetic library question.

2008-06-19 Thread casevh
> No, I do not know that. Define desperate. > Does Python support the extended Euclidean algorithm > and other number theory functions? No. > How fast does Python multiply? Python uses the Karatsuba algorithm which O(n^1.585). Division is still O(n^2). > Not that the latter is particularly impo

Re: Multiprecision arithmetic library question.

2008-06-19 Thread duncan smith
Michael Press wrote: In article <[EMAIL PROTECTED]>, Mark Wooding <[EMAIL PROTECTED]> wrote: Michael Press <[EMAIL PROTECTED]> wrote: I already compiled and installed the GNU multiprecision library on Mac OS X, and link to it in C programs. How do I link to the library from Python? You kn

Re: Multiprecision arithmetic library question.

2008-06-18 Thread Michael Press
In article <[EMAIL PROTECTED]>, Mark Wooding <[EMAIL PROTECTED]> wrote: > Michael Press <[EMAIL PROTECTED]> wrote: > > > I already compiled and installed the GNU multiprecision library > > on Mac OS X, and link to it in C programs. > > How do I link to the library from Python? > > You know th

Re: Multiprecision arithmetic library question.

2008-06-18 Thread Mark Wooding
Michael Press <[EMAIL PROTECTED]> wrote: > I already compiled and installed the GNU multiprecision library > on Mac OS X, and link to it in C programs. > How do I link to the library from Python? You know that Python already supports multiprecision integer arithmetic, right? If you desperately

Re: Multiprecision arithmetic library question.

2008-06-17 Thread casevh
On Jun 17, 5:13 pm, Michael Press <[EMAIL PROTECTED]> wrote: > I already compiled and installed the GNU multiprecision library > on Mac OS X, and link to it in C programs. > How do I link to the library from Python? > I do not want to download and install redundant material. > (I am new to Python)

Multiprecision arithmetic library question.

2008-06-17 Thread Michael Press
I already compiled and installed the GNU multiprecision library on Mac OS X, and link to it in C programs. How do I link to the library from Python? I do not want to download and install redundant material. (I am new to Python) -- Michael Press -- http://mail.python.org/mailman/listinfo/python-