Re: Long double in Python

2007-05-26 Thread Charles Vejnar
Hi, Thanks for both suggestions. I have indeed tried gmpy. For me, it's not very important to choose between numpy or gmpy. I hope I won't be off topic. But, as I told you before, I have a C library using "long double" numbers and I would like to be able to use it in Python. I try to build a

Long double in Python

2007-05-25 Thread Charles Vejnar
Hi, I have a C library using "long double" numbers. I would like to be able to keep this precision in Python (even if it's not portable) : for the moment I have to cast the "long double" numbers to "double" numbers. 1st solution . Is it possible that by re-compiling Python, Python Float object