[Cython] C99/C++ complex type support

Robert Bradshaw robertwb at math.washington.edu
Mon Dec 29 21:52:42 CET 2008


On Dec 29, 2008, at 12:45 PM, Lisandro Dalcin wrote:

> On Mon, Dec 29, 2008 at 5:42 PM, Robert Kern  
> <robert.kern at gmail.com> wrote:
>> You might want to follow numpy's lead and define complex64 (float  
>> complex),
>> complex128 (double complex), etc.
>>
>
> I really like your idea... Let's see what other people think about  
> this...

Yes. Note that "double complex" typically means a complex with double- 
prec real and imaginary parts, not 128 bits.

- Robert



More information about the Cython-dev mailing list