Long double in Python

Charles Vejnar charles.vejnar at isb-sib.ch
Sat May 26 05:07:37 EDT 2007


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 module with Swig but I didn't find the C function to use in 
the wrapper to have a "numpy.longdouble" (or the equivalent in gmpy). Is it 
something possible ?

Charles



More information about the Python-list mailing list