Ticket #347 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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

Changed 4 years ago by dagss

  • owner changed from somebody to dagss

Changed 4 years ago by dagss

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.