Ticket #347 (closed defect: fixed)
numpy.complex128_t etc. does not result in a Cython complex type
| Reported by: | dagss | Owned by: | dagss |
|---|---|---|---|
| Priority: | major | Milestone: | 0.11.3 |
| Component: | Packaging | Keywords: | |
| Cc: |
Description
The NumPy? complex numbers are defined as structs; this is a bit unintuitive. It should be changed so that:
- numpy.npy_complex128 is the NumPy? C struct type, for C API compatability. - numpy.complex128_t is defined as "double complex" directly
This is not fully correct as "double" isn't guaranteed to be 64-bit; but it is really hairy to support it correctly and for all practical purposes it should work.
Change History
Note: See
TracTickets for help on using
tickets.
